Allocate and clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of mkv
authorAlexander Strange <astrange@ithinksw.com>
Fri, 19 Dec 2008 01:00:44 +0000 (01:00 +0000)
committerAlexander Strange <astrange@ithinksw.com>
Fri, 19 Dec 2008 01:00:44 +0000 (01:00 +0000)
commit1ca610c0152f31847ab760fda1fb147692f31e7e
treefa4925effced5d63fd384bcb6b035c2c5f888654
parent712ca84c21a4d7faf97fa79732bf5c347ec6fbc3
Allocate and clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of mkv
extradata.

Fixes valgrind invalid read warnings during H.264 extradata parsing.

Originally committed as revision 16229 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c