diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index d012c92a48..a2d64d1977 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -513,7 +513,7 @@ static av_cold int X264_init(AVCodecContext *avctx) x4->params.b_interlaced = avctx->flags & CODEC_FLAG_INTERLACED_DCT; -// x4->params.b_open_gop = !(avctx->flags & CODEC_FLAG_CLOSED_GOP); + x4->params.b_open_gop = !(avctx->flags & CODEC_FLAG_CLOSED_GOP); x4->params.i_slice_count = avctx->slices;