summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-09-08 15:03:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-09-08 15:03:17 +0000
commitd578432db86762cb131c6b8ac57d20338a866bdb (patch)
treeeec47febaaa12af65e76c32e0306830140ffc946 /libavcodec/mpegvideo_enc.c
parentdd1c8f3e6e5380f993c86750bb09fd42e130143f (diff)
downloadffmpeg-streaming-d578432db86762cb131c6b8ac57d20338a866bdb.zip
ffmpeg-streaming-d578432db86762cb131c6b8ac57d20338a866bdb.tar.gz
Remove stuff under #if LIBAVCODEC_VERSION_INT.
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r--libavcodec/mpegvideo_enc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 5f18818..afaf4a1 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -332,11 +332,6 @@ av_cold int MPV_encode_init(AVCodecContext *avctx)
s->intra_vlc_format= !!(s->flags2 & CODEC_FLAG2_INTRA_VLC);
s->q_scale_type= !!(s->flags2 & CODEC_FLAG2_NON_LINEAR_QUANT);
-#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
- if (s->flags & CODEC_FLAG_TRELLIS_QUANT)
- avctx->trellis = 1;
-#endif
-
if(avctx->rc_max_rate && !avctx->rc_buffer_size){
av_log(avctx, AV_LOG_ERROR, "a vbv buffer size is needed, for encoding with a maximum bitrate\n");
return -1;
OpenPOWER on IntegriCloud