avcodec/scpr: mask bits to prevent out of array read
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 May 2017 00:22:37 +0000 (02:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 May 2017 21:14:28 +0000 (23:14 +0200)
commit5666b95c9f27efa6f9b1e1bb6c592b9a8d78bca5
tree3a43b74a383608819ced57cc626f813cbdd38bcc
parentf810c469223b92da97505f8b1475b04388cf9308
avcodec/scpr: mask bits to prevent out of array read

Fixes: 1615/clusterfuzz-testcase-minimized-6625214647500800

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/scpr.c