aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-02-24 16:37:19 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-04 12:53:50 +0100
commit4c0960e968228f059e88dd464b10e8b53ac24b9e (patch)
tree9ab757561bf7ff8932c9f6e0cffbb4dc19bfa1f6
parent592d75dbebb7f7f620c0c70974f4067dd0a389c2 (diff)
downloadffmpeg-4c0960e968228f059e88dd464b10e8b53ac24b9e.tar.gz
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@outlook.com>
-rw-r--r--libavcodec/mpegvideo_dec.c1
1 files changed, 0 insertions, 1 deletions
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)