avcodec/ac3dec: Keep track of band structure
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 May 2017 17:28:01 +0000 (19:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 May 2017 18:36:33 +0000 (20:36 +0200)
commit9351a156de724edb69ba6e1f05884fe806a13a21
treea35b183a331085ed67f733383f63a579426b7235
parenta3508cc3fe643a8adad6a82a60bece3ea3c5dc63
avcodec/ac3dec: Keep track of band structure

It is needed in some corner cases that seem not to be forbidden
Fixes: out of array index
Fixes: 1538/clusterfuzz-testcase-minimized-4696904925446144

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