avcodec/rscc: Check pixel_size for overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 May 2017 23:31:19 +0000 (01:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 May 2017 23:32:55 +0000 (01:32 +0200)
commit934572c5c3592732a30336afdf2df9926a8b4df2
tree0bf89a265fed6f13c8723b79baec272348bbbe44
parent0158b405a71f386c7844a3d975315afd47f16b5d
avcodec/rscc: Check pixel_size for overflow

Fixes: 1509/clusterfuzz-testcase-minimized-5129419876204544

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