avcodec/ffv1dec: Check for 0 quant tables
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Nov 2015 23:36:59 +0000 (00:36 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Nov 2015 01:55:47 +0000 (02:55 +0100)
commite98f3ba2212485aa0eb4399803eb1cda57010bfc
tree6e85ae1faa2732064c1515d05c9da1bfd43e4125
parent32808460cc5d92aacc10ab9150276c752609137b
avcodec/ffv1dec: Check for 0 quant tables

Fixes assertion failure
Fixes: 07ec1fc3c1cbf2d3edcd7d9b52ca156c/asan_heap-oob_13624c5_491_ecd4720a03e697ba750b235690656c8f.avi

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

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