diff options
author | Mans Rullgard <mans@mansr.com> | 2011-12-18 20:41:42 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-12-18 22:14:33 +0000 |
commit | 8400b126acb153329c418433c377d96afd1d1e02 (patch) | |
tree | f793e22dc029484f1105e2c80448195364f22542 /avplay.c | |
parent | bc78ceec2be6613c265387017221c7ceda15aa7d (diff) | |
download | ffmpeg-8400b126acb153329c418433c377d96afd1d1e02.tar.gz |
avcodec: deprecate AVFrame.age
This was intended as an optimisation for skipped blocks in MPEG2
P-frames and never used elsewhere. Removing this "optimisation"
speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9).
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1564,7 +1564,6 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic) pic->linesize[i] = ref->linesize[i]; } pic->opaque = ref; - pic->age = INT_MAX; pic->type = FF_BUFFER_TYPE_USER; pic->reordered_opaque = codec->reordered_opaque; if(codec->pkt) pic->pkt_pts = codec->pkt->pts; |