avcodec/snowdec: Check width
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 14:08:14 +0000 (16:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 14:50:18 +0000 (16:50 +0200)
commit78aa93807b3e0674e34d32c0bf6f78d7f5b7927e
tree0972644a3635abbc8f39d8f343a87271e64e6e56
parentea627dc0949c91e3ee3f98ec3ad6b4df8e96a69e
avcodec/snowdec: Check width

Fixes: out of array read
Fixes: 1419/clusterfuzz-testcase-minimized-6108700873850880

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