summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-12 13:31:55 +0100
committerAnton Khirnov <anton@khirnov.net>2012-01-27 10:52:43 +0100
commit2a0f868cfacd548d39665392cf4791c67bc2ea06 (patch)
tree15dfb5d6275faa638201065c950050b9063ba3fe /libavformat/mpegenc.c
parent1329827e79766e21277a575d7abfdd0f07eb854c (diff)
lavf: remove disabled FF_API_PRELOAD cruft
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 9416f03129..852b3f13c9 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -1158,10 +1158,6 @@ static int mpeg_mux_write_packet(AVFormatContext *ctx, AVPacket *pkt)
int preload;
const int is_iframe = st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (pkt->flags & AV_PKT_FLAG_KEY);
-#if FF_API_PRELOAD
- if (ctx->preload)
- s->preload = ctx->preload;
-#endif
preload = av_rescale(s->preload, 90000, AV_TIME_BASE);
pts= pkt->pts;