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>
Sat, 1 Feb 2014 18:07:01 +0000 (19:07 +0100)
commitb51e9354772de446e8196dabf9aad1567b22f74d
tree123b0016f6a460f19023ea344e8a74d5670a27da
parentdcf5bfbdb6137ffdca66e0b7c2929ced42732951
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>
libavcodec/vc1.c