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
9ee2c20e
Commit
9ee2c20e
authored
Aug 22, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repeat_pict was never returned
Originally committed as revision 2132 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c9245417
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
mpeg12.c
libavcodec/mpeg12.c
+5
-6
No files found.
libavcodec/mpeg12.c
View file @
9ee2c20e
...
...
@@ -1843,19 +1843,18 @@ static int mpeg_decode_slice(AVCodecContext *avctx,
ff_er_frame_start
(
s
);
/* first check if we must repeat the frame */
s
->
current_picture
.
repeat_pict
=
0
;
s
->
current_picture_ptr
->
repeat_pict
=
0
;
if
(
s
->
repeat_first_field
)
{
if
(
s
->
progressive_sequence
)
{
if
(
s
->
top_field_first
)
s
->
current_picture
.
repeat_pict
=
4
;
s
->
current_picture
_ptr
->
repeat_pict
=
4
;
else
s
->
current_picture
.
repeat_pict
=
2
;
s
->
current_picture
_ptr
->
repeat_pict
=
2
;
}
else
if
(
s
->
progressive_frame
)
{
s
->
current_picture
.
repeat_pict
=
1
;
s
->
current_picture
_ptr
->
repeat_pict
=
1
;
}
}
// printf("%d \n", s->current_picture.
repeat_pict);
//printf("%d\n", s->current_picture_ptr->
repeat_pict);
if
(
s
->
avctx
->
debug
&
FF_DEBUG_PICT_INFO
){
printf
(
"qp:%d fc:%2d%2d%2d%2d %s %s %s %s dc:%d pstruct:%d fdct:%d cmv:%d qtype:%d ivlc:%d rff:%d %s
\n
"
,
...
...
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