mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/libx264: fix MPEG2 support
Found-by: rcombs Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
77cd5193a5
commit
189f2ed902
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user