avcodec/wavpack: Treat the first block coding too many channels as an error
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 7 Dec 2016 11:06:16 +0000 (12:06 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 7 Dec 2016 12:16:32 +0000 (13:16 +0100)
commitc188f358aaee5800af5a5d699dd657cef3fb43a6
tree2f2382833d88bd117b9659ababbd0e2b22632757
parent6b95da9af91cd912561aa25593d6a41caa071963
avcodec/wavpack: Treat the first block coding too many channels as an error

Fixes memleak
Fixes: 236/8aeebc9ca49b91bf71c114dcefac56c154a3a563

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