<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- libavcodec/videotoolboxenc.c
+++ libavcodec/videotoolboxenc.c
@@ -1398,7 +1398,6 @@ static int vtenc_configure_encoder(AVCodecContext *avctx)
     }
 
     vtctx-&gt;codec_id = avctx-&gt;codec_id;
-    avctx-&gt;max_b_frames = 16;
 
     if (vtctx-&gt;codec_id == AV_CODEC_ID_H264) {
         vtctx-&gt;get_param_set_func = CMVideoFormatDescriptionGetH264ParameterSetAtIndex;
</pre></body></html>