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>
Sun, 11 Feb 2018 01:49:15 +0000 (02:49 +0100)
commit0fb33a82890753233225c61863fff1fcc9d970d4
treeefc864d718386ace0dbd371db63ea0464a708fbe
parent8b154cb3e90a3e599cadf477d815a9854b7bb4e1
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>
libavcodec/scpr.c