[FFmpeg-cvslog] avcodec/mpegvideo_dec: Don't sync max_b_frames

Andreas Rheinhardt git at videolan.org
Tue Mar 4 14:35:25 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Feb 24 16:37:19 2025 +0100| [4c0960e968228f059e88dd464b10e8b53ac24b9e] | committer: Andreas Rheinhardt

avcodec/mpegvideo_dec: Don't sync max_b_frames

Only the VC-1 decoder (which does not use frame-threading)
and encoders use it.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c0960e968228f059e88dd464b10e8b53ac24b9e
---

 libavcodec/mpegvideo_dec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c
index 53e02ad91c..ebbbc1df8b 100644
--- a/libavcodec/mpegvideo_dec.c
+++ b/libavcodec/mpegvideo_dec.c
@@ -134,7 +134,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
            (char *) &s1->last_time_base);
 
     // B-frame info
-    s->max_b_frames = s1->max_b_frames;
     s->low_delay    = s1->low_delay;
 
     // DivX handling (doesn't work)



More information about the ffmpeg-cvslog mailing list