avcodec/ffv1dec: Clear quant_table_count if its invalid
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Nov 2015 12:21:58 +0000 (13:21 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 11:40:51 +0000 (12:40 +0100)
commit3a1aaec9bbcc915f3098448ef2fd81b6b3422c56
tree97aa199723fe7cd466d61bdaf896ef26dfa9445d
parent6c83283c3a009a0cd2bf52328f2bb65d286e72ed
avcodec/ffv1dec: Clear quant_table_count if its invalid

Fixes deallocation of corrupted pointer
Fixes: 343dfbe142a38b521ed069dc4ea7c03b/signal_sigsegv_421427_4074_ffb11959610278cd40dbc153464aa254.avi
No releases affected

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e04126072e984f8db5db9da9303c89ae01f7d6bb)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffv1dec.c