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
67086c85
Commit
67086c85
authored
Mar 14, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
width,height%16!=0 fix
Originally committed as revision 2889 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ee59b4b6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mpegvideo.c
libavcodec/mpegvideo.c
+4
-4
No files found.
libavcodec/mpegvideo.c
View file @
67086c85
...
@@ -3411,10 +3411,10 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
...
@@ -3411,10 +3411,10 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
if
(
mb_x
*
16
+
16
>
s
->
width
||
mb_y
*
16
+
16
>
s
->
height
){
if
(
mb_x
*
16
+
16
>
s
->
width
||
mb_y
*
16
+
16
>
s
->
height
){
ff_emulated_edge_mc
(
s
->
edge_emu_buffer
,
ptr_y
,
wrap_y
,
16
,
16
,
mb_x
*
16
,
mb_y
*
16
,
s
->
width
,
s
->
height
);
ff_emulated_edge_mc
(
s
->
edge_emu_buffer
,
ptr_y
,
wrap_y
,
16
,
16
,
mb_x
*
16
,
mb_y
*
16
,
s
->
width
,
s
->
height
);
ptr_y
=
s
->
edge_emu_buffer
;
ptr_y
=
s
->
edge_emu_buffer
;
ff_emulated_edge_mc
(
s
->
edge_emu_buffer
+
1
6
*
wrap_y
,
ptr_cb
,
wrap_c
,
8
,
8
,
mb_x
*
8
,
mb_y
*
8
,
s
->
width
>>
1
,
s
->
height
>>
1
);
ff_emulated_edge_mc
(
s
->
edge_emu_buffer
+
1
8
*
wrap_y
,
ptr_cb
,
wrap_c
,
8
,
8
,
mb_x
*
8
,
mb_y
*
8
,
s
->
width
>>
1
,
s
->
height
>>
1
);
ptr_cb
=
s
->
edge_emu_buffer
+
1
6
*
wrap_y
;
ptr_cb
=
s
->
edge_emu_buffer
+
1
8
*
wrap_y
;
ff_emulated_edge_mc
(
s
->
edge_emu_buffer
+
1
6
*
wrap_y
+
8
,
ptr_cr
,
wrap_c
,
8
,
8
,
mb_x
*
8
,
mb_y
*
8
,
s
->
width
>>
1
,
s
->
height
>>
1
);
ff_emulated_edge_mc
(
s
->
edge_emu_buffer
+
1
8
*
wrap_y
+
9
,
ptr_cr
,
wrap_c
,
8
,
8
,
mb_x
*
8
,
mb_y
*
8
,
s
->
width
>>
1
,
s
->
height
>>
1
);
ptr_cr
=
s
->
edge_emu_buffer
+
1
6
*
wrap_y
+
8
;
ptr_cr
=
s
->
edge_emu_buffer
+
1
8
*
wrap_y
+
9
;
}
}
if
(
s
->
mb_intra
)
{
if
(
s
->
mb_intra
)
{
...
...
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