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
a172cae6
Commit
a172cae6
authored
Sep 14, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interlaced b frames fix
Originally committed as revision 946 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1e7bfebe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
h263.c
libavcodec/h263.c
+9
-6
No files found.
libavcodec/h263.c
View file @
a172cae6
...
...
@@ -2798,10 +2798,12 @@ int h263_decode_mb(MpegEncContext *s,
s
->
mcsel
=
0
;
// ... true gmc blocks
if
(
s
->
mb_x
==
0
){
s
->
last_mv
[
0
][
0
][
0
]
=
s
->
last_mv
[
0
][
0
][
1
]
=
s
->
last_mv
[
1
][
0
][
0
]
=
s
->
last_mv
[
1
][
0
][
1
]
=
0
;
for
(
i
=
0
;
i
<
2
;
i
++
){
s
->
last_mv
[
i
][
0
][
0
]
=
s
->
last_mv
[
i
][
0
][
1
]
=
s
->
last_mv
[
i
][
1
][
0
]
=
s
->
last_mv
[
i
][
1
][
1
]
=
0
;
}
}
/* if we skipped it in the future P Frame than skip it now too */
...
...
@@ -4190,10 +4192,11 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
}
else
s
->
b_code
=
1
;
#if 0
printf("qp:%d fc:%d bc:%d type:%s size:%d pro:%d alt:%d qpel:%d part:%d resync:%d\n",
printf("qp:%d fc:%d bc:%d type:%s size:%d pro:%d alt:%d
top:%d
qpel:%d part:%d resync:%d\n",
s->qscale, s->f_code, s->b_code,
s->pict_type == I_TYPE ? "I" : (s->pict_type == P_TYPE ? "P" : (s->pict_type == B_TYPE ? "B" : "S")),
s->gb.size,s->progressive_sequence, s->alternate_scan, s->quarter_sample, s->data_partitioning, s->resync_marker);
s->gb.size,s->progressive_sequence, s->alternate_scan, s->top_field_first,
s->quarter_sample, s->data_partitioning, s->resync_marker);
#endif
if
(
!
s
->
scalability
){
if
(
s
->
shape
!=
RECT_SHAPE
&&
s
->
pict_type
!=
I_TYPE
)
{
...
...
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