Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
28b85b1f
Commit
28b85b1f
authored
Dec 17, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mjpegenc: fix YUV444 with w%16!=0
Fixes Ticket2040 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
85e6f6d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
mjpegenc.c
libavcodec/mjpegenc.c
+8
-6
No files found.
libavcodec/mjpegenc.c
View file @
28b85b1f
...
...
@@ -466,12 +466,14 @@ void ff_mjpeg_encode_mb(MpegEncContext *s, DCTELEM block[6][64])
encode_block
(
s
,
block
[
5
],
5
);
encode_block
(
s
,
block
[
9
],
9
);
encode_block
(
s
,
block
[
1
],
1
);
encode_block
(
s
,
block
[
3
],
3
);
encode_block
(
s
,
block
[
6
],
6
);
encode_block
(
s
,
block
[
10
],
10
);
encode_block
(
s
,
block
[
7
],
7
);
encode_block
(
s
,
block
[
11
],
11
);
if
(
16
*
s
->
mb_x
+
8
<
s
->
width
)
{
encode_block
(
s
,
block
[
1
],
1
);
encode_block
(
s
,
block
[
3
],
3
);
encode_block
(
s
,
block
[
6
],
6
);
encode_block
(
s
,
block
[
10
],
10
);
encode_block
(
s
,
block
[
7
],
7
);
encode_block
(
s
,
block
[
11
],
11
);
}
}
else
{
for
(
i
=
0
;
i
<
5
;
i
++
)
{
encode_block
(
s
,
block
[
i
],
i
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment