1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

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>
This commit is contained in:
Andreas Rheinhardt
2025-02-24 16:37:19 +01:00
parent 592d75dbeb
commit 4c0960e968

View File

@ -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)