avcodec/vc1dec: do not crash when flushing without an allocated frame
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 00:16:43 +0000 (02:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 00:26:29 +0000 (02:26 +0200)
commita1fe3b41507300dbaa9a082eb43155f07fcf5124
treeb533be646c7fcb0d8b09c6219254ce02a4dfe2e3
parentc5129da726bb8e2dde610799053736b828989864
avcodec/vc1dec: do not crash when flushing without an allocated frame

Fixes Ticket3837
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6801eb0a0981f113f5f09ed4799d9ae805af62a3)

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