rv34: Avoid NULL dereference on corrupted bitstream
authorLaurent Aimar <fenrir@videolan.org>
Sat, 17 Sep 2011 21:43:58 +0000 (23:43 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 21 Sep 2011 12:40:36 +0000 (14:40 +0200)
commit11b72c073c7f59ee19067ddaa7ea7755b972d793
treedcd2a21ea8b113a07e050f4dbd64a17b33888bb2
parentbb6702f20675868fba91f6be5e5120b5d8ef031f
rv34: Avoid NULL dereference on corrupted bitstream

rv34_decode_slice() can return without allocating any pictures.

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit d0f6ab0298f2309c6104626787ed73416298b019)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/rv34.c