summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorHoward Chu <hyc@highlandsun.com>2010-05-28 18:50:39 +0000
committerHoward Chu <hyc@highlandsun.com>2010-05-28 18:50:39 +0000
commit23584bec87f2cab947e28ba54b0499492d6e5891 (patch)
tree50a6e72c17e20a8bc9e291e7057d70dd4e2c5266 /libavcodec/h264.h
parent22a255842b0c9c269fa50cc578830795c78579e6 (diff)
Parse avctx->extradata if available.
Fixes many "non-existing PPS referenced" error messages Originally committed as revision 23363 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 2f1dc95ba8..7c76b29453 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -465,6 +465,7 @@ 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 first_picture;
SPS *sps_buffers[MAX_SPS_COUNT];
PPS *pps_buffers[MAX_PPS_COUNT];