summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-07 02:02:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-07 02:30:27 +0100
commit6a56f4e63423d616b2224f654c1794fac25d6cfb (patch)
treeec0756ebd0ecbdee1932c95824101214367c96ee /libavcodec/h264_parser.c
parent12d8340f16eed211f153e859b749ad415c1ba384 (diff)
parentb348c852aa8312d361123df0fa20e16feff7c2f1 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: flicvideo: fix invalid reads vorbis: Avoid some out-of-bounds reads vqf: add more known extensions cabac: remove unused function renorm_cabac_decoder h264: Only use symbols from the SVQ3 decoder under proper conditionals. add bytestream2_tell() and bytestream2_seek() functions parsers: initialize MpegEncContext.slice_context_count to 1 spdifenc: use special alignment for DTS-HD length_code Conflicts: libavcodec/flicvideo.c libavcodec/h264.c libavcodec/mpeg4video_parser.c libavcodec/vorbis.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 9d28cc3707..c9dea81a49 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -376,6 +376,7 @@ static int init(AVCodecParserContext *s)
{
H264Context *h = s->priv_data;
h->thread_context[0] = h;
+ h->s.slice_context_count = 1;
return 0;
}