summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-10-19 09:28:45 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-23 14:15:56 +0200
commit3fc08304322ce3ed0e4a71efde78ae5e0d5c910c (patch)
tree4bbe3ef3c1dbbda2b81cdc1e41928790ae94ec58 /libavcodec/mpeg12.h
parentda22ba7df461c13bf0b0eabc953303803a285d91 (diff)
mpeg12: move closed_gop from MpegEncContext to Mpeg1Context
It's MPEG-1/2 specific.
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 2a2049fea4..209bf05234 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 full_pel[2];
+ int closed_gop; ///< GOP is closed
} Mpeg1Context;
extern uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];