summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
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 /libavcodec/internal.h
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 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index fb011c7a3a..b5a04546f3 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -30,7 +30,6 @@
#include "avcodec.h"
typedef struct InternalBuffer {
- int last_pic_num;
uint8_t *base[AV_NUM_DATA_POINTERS];
uint8_t *data[AV_NUM_DATA_POINTERS];
int linesize[AV_NUM_DATA_POINTERS];