Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 6 Jul 2009 09:22:39 +0000 (09:22 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 6 Jul 2009 09:22:39 +0000 (09:22 +0000)
commitc4b7b8bf9c9501aa8adfddc405dd8aab25498868
treeb174cfa81063694c3959fdebc5e808e04e63bdcc
parent31457d7a2e2f42885143c0e757fb3e26fbe112bb
Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.

Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vp3.c