1
0
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:
Andreas Rheinhardt 2024-04-28 19:11:44 +02:00
parent a13ca893cf
commit c703a519a5
2 changed files with 0 additions and 2 deletions

View File

@ -520,7 +520,6 @@ void ff_mpv_common_defaults(MpegEncContext *s)
s->progressive_sequence = 1; s->progressive_sequence = 1;
s->picture_structure = PICT_FRAME; s->picture_structure = PICT_FRAME;
s->coded_picture_number = 0;
s->picture_number = 0; s->picture_number = 0;
s->f_code = 1; s->f_code = 1;

View File

@ -114,7 +114,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
s->quarter_sample = s1->quarter_sample; s->quarter_sample = s1->quarter_sample;
s->coded_picture_number = s1->coded_picture_number;
s->picture_number = s1->picture_number; s->picture_number = s1->picture_number;
ff_mpv_replace_picture(&s->cur_pic, &s1->cur_pic); ff_mpv_replace_picture(&s->cur_pic, &s1->cur_pic);