avcodec/xwddec: Check bpp more completely
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 May 2017 16:50:49 +0000 (18:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 May 2017 22:21:49 +0000 (00:21 +0200)
commitedb8d29ca5fef83ab7a89f24fe23411c0f4f8f0d
treeb1967faa6b6f2c859354bd148ff1d44b66b41afe
parentbf4b8b1677949c54604723eebb1a10f8f9ff91d5
avcodec/xwddec: Check bpp more completely

Fixes out of array access
Fixes: 1399/clusterfuzz-testcase-minimized-4866094172995584

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 441026fcb13ac23aa10edc312bdacb6445a0ad06)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/xwddec.c