diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 0f4155ab87fb02d66edc2cc226bf6bdd1c55fad9..3a3008b9d3a5a7f7fa9103846d1062fd5365acdc 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1295,7 +1295,7 @@ static const UID mxf_mpeg2_codec_uls[] = { static const UID *mxf_get_mpeg2_codec_ul(AVCodecContext *avctx) { - int long_gop = avctx->gop_size > 1 || avctx->has_b_frames; + int long_gop = 1; if (avctx->profile == 4) { // Main if (avctx->level == 8) // Main