Browse Source

avcodec/libx264: fix MPEG2 support

Found-by: rcombs
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
189f2ed902
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/libx264.c

+ 1
- 2
libavcodec/libx264.c View File

@@ -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…
Cancel
Save