avcodec/loco: Check left column value
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 12 Aug 2019 19:17:04 +0000 (21:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Sep 2019 18:26:35 +0000 (20:26 +0200)
commit3349be5745c330867c98dfd3810c0cf04f723c40
treed50620f11a848b8e92f9fd8a4bdfeb7bf72be991
parent80ecb421febece8a28a8bf88ff700a6571baf56c
avcodec/loco: Check left column value

Fixes: Timeout (42sec -> 379 ms)
Fixes: 16323/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5679178099195904

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c812db814ebd603106220854e343558ec1115e57)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/loco.c