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
26f548a7
Commit
26f548a7
authored
Dec 10, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MB_TYPE_INTERLACED info fix
Originally committed as revision 2586 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
27a206e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mpeg12.c
libavcodec/mpeg12.c
+5
-2
No files found.
libavcodec/mpeg12.c
View file @
26f548a7
...
...
@@ -1170,7 +1170,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
}
}
else
{
/* MT_16X8 */
mb_type
|=
MB_TYPE_16x8
;
mb_type
|=
MB_TYPE_16x8
|
MB_TYPE_INTERLACED
;
s
->
mv_type
=
MV_TYPE_16X8
;
for
(
j
=
0
;
j
<
2
;
j
++
)
{
s
->
field_select
[
i
][
j
]
=
get_bits1
(
&
s
->
gb
);
...
...
@@ -1201,7 +1201,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
dprintf
(
"fmy=%d
\n
"
,
val
);
}
}
else
{
mb_type
|=
MB_TYPE_16x16
;
mb_type
|=
MB_TYPE_16x16
|
MB_TYPE_INTERLACED
;
s
->
field_select
[
i
][
0
]
=
get_bits1
(
&
s
->
gb
);
for
(
k
=
0
;
k
<
2
;
k
++
)
{
val
=
mpeg_decode_motion
(
s
,
s
->
mpeg_f_code
[
i
][
k
],
...
...
@@ -1259,6 +1259,9 @@ static int mpeg_decode_mb(MpegEncContext *s,
}
}
break
;
default:
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"00 motion_type at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
}
}
...
...
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