Commit 189f2ed9 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/libx264: fix MPEG2 support

Found-by: rcombs
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 77cd5193
......@@ -389,9 +389,8 @@ static av_cold int X264_init(AVCodecContext *avctx)
x4->params.b_mpeg2 = 1;
x264_param_default_mpeg2(&x4->params);
} else
#else
x264_param_default(&x4->params);
#endif
x264_param_default(&x4->params);
x4->params.b_deblocking_filter = avctx->flags & CODEC_FLAG_LOOP_FILTER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment