avcodec/snow: fix null pointer dereference in cleanup after allocation failure
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 13:36:22 +0000 (15:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 13:45:42 +0000 (15:45 +0200)
commit11420649d021e35a2b037cf156d8256a0c64c484
treea42e661ce650ff0e4286c4422173de1fce89b81c
parentdbf5d7e5cd16d4f02b57c24922b1f77755c0427b
avcodec/snow: fix null pointer dereference in cleanup after allocation failure

Fixes: snowf.avi
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9a162146ca6cc12ef7ad4a15164349482885962c)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/snow.c