summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-11 18:37:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-11 18:46:56 +0200
commitde1824e970d448a84bedce4936c301c322baa714 (patch)
treea36ef4a1f2cc5e156751f874cd056a5fe2d0afde /libavcodec/mpeg12.h
parente20f46481bc8f51fe55e9ee1657aced939d8552f (diff)
mpeg12: fix logic that prevents extradata from being parsed twice.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12.h')
-rw-r--r--libavcodec/mpeg12.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.h b/libavcodec/mpeg12.h
index 9a9cc85dee..c8cec48d7f 100644
--- a/libavcodec/mpeg12.h
+++ b/libavcodec/mpeg12.h
@@ -42,6 +42,7 @@ typedef struct Mpeg1Context {
AVRational frame_rate_ext; ///< MPEG-2 specific framerate modificator
int sync; ///< Did we reach a sync point like a GOP/SEQ/KEYFrame?
int tmpgexs;
+ int parsed_extra;
} Mpeg1Context;
extern uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];