From 189f2ed902a6044a4eba4a2ef221afefd69d8eec Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 17 Jul 2015 22:10:58 +0200 Subject: [PATCH] avcodec/libx264: fix MPEG2 support Found-by: rcombs Signed-off-by: Michael Niedermayer --- libavcodec/libx264.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 4487fef736..3e789e5ec3 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -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;