Avoid NULL dereference on corrupted bitstream with real decoder.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 17 Sep 2011 21:43:58 +0000 (23:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 18:56:53 +0000 (20:56 +0200)
commit60a1384013071e4549e48459d484a7b72aeb6ebc
tree86ccd1b3d131ae386985ad219634814c9c9d2f8c
parentb59919afe2b6caad1ddcbbb71bdcf5a8750b8c71
Avoid NULL dereference on corrupted bitstream with real decoder.

rv34_decode_slice() can return without allocating any pictures.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 140dbcff357351570426efd0e0bc00e380f5436e)
libavcodec/rv34.c