diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-27 12:16:14 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-31 15:26:26 +0400 |
commit | 0e5d37309f54f4377ec1f1a7ca41ea06d4ade923 (patch) | |
tree | 542cab0ac8235c12be778ad40472c47cac4424b0 /libavcodec/mpegvideo_enc.c | |
parent | 1f0c7020a1f08a7cbec2d629759ca33ea92bd89d (diff) |
mpeg12enc/mpeg4videoenc: add 'alternate_scan' private option.
Deprecate CODEC_FLAG_ALT_SCAN
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 47f431c1a9..042b91d6bc 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -338,8 +338,8 @@ av_cold int MPV_encode_init(AVCodecContext *avctx) s->obmc= !!(s->flags & CODEC_FLAG_OBMC); s->loop_filter= !!(s->flags & CODEC_FLAG_LOOP_FILTER); - s->alternate_scan= !!(s->flags & CODEC_FLAG_ALT_SCAN); #if FF_API_MPEGVIDEO_GLOBAL_OPTS + s->alternate_scan= !!(s->flags & CODEC_FLAG_ALT_SCAN); s->intra_vlc_format= !!(s->flags2 & CODEC_FLAG2_INTRA_VLC); s->q_scale_type= !!(s->flags2 & CODEC_FLAG2_NON_LINEAR_QUANT); #endif |