Check that palctrl is available on init instead of crashing when trying to use
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 5 Jul 2009 12:14:05 +0000 (12:14 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 5 Jul 2009 12:14:05 +0000 (12:14 +0000)
commit5be5daf1e5929192650dc17eab02c26447df13d1
treec2bae805cffeb53caa9cf24ebfe7c8bddd39abea
parente30004fa733ec64b6ff90678098c1f1132d4d603
Check that palctrl is available on init instead of crashing when trying to use
it on decode.
Fixes mpeg2/smclockmpeg2.avi.2.1 from issue 1240.

Originally committed as revision 19347 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/qpeg.c