Avoid calling decode_slice when context_initialized is not set.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 16 Jan 2007 17:46:26 +0000 (17:46 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 16 Jan 2007 17:46:26 +0000 (17:46 +0000)
commitb18e5c031c088269b3f01d2cdb84b0ff9a305c35
treef1efa04a4006251bf7a1ffec108f72589fe61202
parentb0642c74090f2ee58b452fca3c484ed83d9dd2f1
Avoid calling decode_slice when context_initialized is not set.
Avoids a crash due to dsp.clear_blocks being NULL when called.

Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c