summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 17:30:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-01-27 09:08:31 +0100
commit9404a47a2d1df418946a338938eb6cdb3afed474 (patch)
tree7deb7d4b010ecc21fbd3be625a63efd195a1b6c2 /libavcodec/h264.h
parentcf1e0786ed64e69614760bfb4ecd7adbde8e6094 (diff)
h264: move parser-only variables to their own context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index fa6e19ebc5..ad365498b2 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -305,7 +305,6 @@ typedef struct H264Context {
H264DSPContext h264dsp;
H264ChromaContext h264chroma;
H264QpelContext h264qpel;
- ParseContext parse_context;
GetBitContext gb;
ERContext er;
@@ -522,7 +521,6 @@ typedef struct H264Context {
*/
int is_avc; ///< this flag is != 0 if codec is avc1
int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4)
- int got_first; ///< this flag is != 0 if we've parsed a frame
int bit_depth_luma; ///< luma bit depth from sps to detect changes
int chroma_format_idc; ///< chroma format from sps to detect changes