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
50c93f74
Commit
50c93f74
authored
Mar 02, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l (segfault fix)
Originally committed as revision 2837 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ed263031
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mpeg12.c
libavcodec/mpeg12.c
+3
-3
No files found.
libavcodec/mpeg12.c
View file @
50c93f74
...
@@ -2205,8 +2205,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
...
@@ -2205,8 +2205,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
if
(
field_pic
&&
!
s
->
first_field
)
if
(
field_pic
&&
!
s
->
first_field
)
xy
+=
wrap
/
2
;
xy
+=
wrap
/
2
;
for
(
dir
=
0
;
dir
<
2
;
dir
++
){
for
(
i
=
0
;
i
<
2
;
i
++
){
for
(
i
=
0
;
i
<
2
;
i
++
){
for
(
dir
=
0
;
dir
<
2
;
dir
++
){
if
(
s
->
mb_intra
||
(
dir
==
1
&&
s
->
pict_type
!=
B_TYPE
))
{
if
(
s
->
mb_intra
||
(
dir
==
1
&&
s
->
pict_type
!=
B_TYPE
))
{
motion_x
=
motion_y
=
0
;
motion_x
=
motion_y
=
0
;
}
else
if
(
s
->
mv_type
==
MV_TYPE_16X16
){
}
else
if
(
s
->
mv_type
==
MV_TYPE_16X16
){
...
@@ -2221,8 +2221,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
...
@@ -2221,8 +2221,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
s
->
current_picture
.
motion_val
[
dir
][
xy
][
1
]
=
motion_y
;
s
->
current_picture
.
motion_val
[
dir
][
xy
][
1
]
=
motion_y
;
s
->
current_picture
.
motion_val
[
dir
][
xy
+
1
][
0
]
=
motion_x
;
s
->
current_picture
.
motion_val
[
dir
][
xy
+
1
][
0
]
=
motion_x
;
s
->
current_picture
.
motion_val
[
dir
][
xy
+
1
][
1
]
=
motion_y
;
s
->
current_picture
.
motion_val
[
dir
][
xy
+
1
][
1
]
=
motion_y
;
xy
+=
wrap
;
}
}
xy
+=
wrap
;
}
}
}
}
...
...
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