avcodec/vc1: reset fcm/field_mode in non advanced header parsing
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Feb 2014 18:04:37 +0000 (19:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 5 Mar 2014 02:06:10 +0000 (03:06 +0100)
commitb3cc4bd18f3c43ad2d84448a9f3c20f0c908b15e
tree5843c18c91fa8defaed20b7c5cbbfa87c7ac1392
parentca9d302519b690af1318c4c5ef6aeff118548819
avcodec/vc1: reset fcm/field_mode in non advanced header parsing

Fixes NULL pointer dereference
Fixes: signal_sigsegv_1ab8bf4_2847_cov_4254117347_SA10091.vc1
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b51e9354772de446e8196dabf9aad1567b22f74d)

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