avcodec/scpr: Fix reading a pixel before the first
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Feb 2018 17:49:07 +0000 (18:49 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit55e6c6b5feb7e2a9110fab1dc06ced23360b14e2
tree57eca6bfff3c75e085eeee60d0aec1e083cea60b
parent66881cf2b58b8021e9e7f4271e30deeba0c6cb7f
avcodec/scpr: Fix reading a pixel before the first

Fixes: 5540/clusterfuzz-testcase-minimized-6122458273808384

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