avcodec/asvdec: Check buf_size
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 May 2017 21:53:53 +0000 (23:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 May 2017 21:54:33 +0000 (23:54 +0200)
commitcfd1ecdc0bb039014fbb40b45edb88121bad92f9
tree2cbace9962b18255b4953dc31d9d662307347473
parentf95f9f975598262d7acdf9f4611bd1e775203f7b
avcodec/asvdec: Check buf_size

Fixes Timeout
Fixes: 1746/clusterfuzz-testcase-minimized-6687393392361472

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/asvdec.c