[FFmpeg-cvslog] avcodec/mpegvideo_dec: Don't sync encoder-only coded_picture_number
Andreas Rheinhardt
git at videolan.org
Wed Jun 12 14:16:38 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Apr 28 19:11:44 2024 +0200| [c703a519a57be63e5e6c8f814699d428c4881990] | committer: Andreas Rheinhardt
avcodec/mpegvideo_dec: Don't sync encoder-only coded_picture_number
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c703a519a57be63e5e6c8f814699d428c4881990
---
libavcodec/mpegvideo.c | 1 -
libavcodec/mpegvideo_dec.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 93df8a315d..8a8ff2fbd9 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;
diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c
index f840dc9ffc..0a50cfac5b 100644
--- a/libavcodec/mpegvideo_dec.c
+++ b/libavcodec/mpegvideo_dec.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list