diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-12 13:31:55 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-27 10:52:43 +0100 |
commit | f0cb13958d8b45800f29b067ce2bc6e9f5f58740 (patch) | |
tree | 3ebc63f154205bb7270082600b8f278085131edd /libavformat/mpegenc.c | |
parent | 2f5e728b58c564b89f565fa2149dbbb6ccfce734 (diff) | |
download | ffmpeg-f0cb13958d8b45800f29b067ce2bc6e9f5f58740.tar.gz |
lavf: remove disabled FF_API_MUXRATE cruft
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index b2ca35a3df..9416f03129 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -421,11 +421,6 @@ static int mpeg_mux_init(AVFormatContext *ctx) video_bitrate += codec_rate; } -#if FF_API_MUXRATE - if(ctx->mux_rate){ - s->mux_rate= (ctx->mux_rate + (8 * 50) - 1) / (8 * 50); - } else -#endif if (!s->mux_rate) { /* we increase slightly the bitrate to take into account the headers. XXX: compute it exactly */ |