summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-12-18 20:41:42 +0000
committerMans Rullgard <mans@mansr.com>2011-12-18 22:14:33 +0000
commit8400b126acb153329c418433c377d96afd1d1e02 (patch)
treef793e22dc029484f1105e2c80448195364f22542 /avplay.c
parentbc78ceec2be6613c265387017221c7ceda15aa7d (diff)
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/avplay.c b/avplay.c
index f90899c57b..5fcfaa68e7 100644
--- a/avplay.c
+++ b/avplay.c
@@ -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;