mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/mpegvideo_dec: Don't sync encoder-only coded_picture_number
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
a13ca893cf
commit
c703a519a5
@ -520,7 +520,6 @@ void ff_mpv_common_defaults(MpegEncContext *s)
|
||||
s->progressive_sequence = 1;
|
||||
s->picture_structure = PICT_FRAME;
|
||||
|
||||
s->coded_picture_number = 0;
|
||||
s->picture_number = 0;
|
||||
|
||||
s->f_code = 1;
|
||||
|
@ -114,7 +114,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
|
||||
|
||||
s->quarter_sample = s1->quarter_sample;
|
||||
|
||||
s->coded_picture_number = s1->coded_picture_number;
|
||||
s->picture_number = s1->picture_number;
|
||||
|
||||
ff_mpv_replace_picture(&s->cur_pic, &s1->cur_pic);
|
||||
|
Loading…
Reference in New Issue
Block a user