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, 14 Aug 2019 23:26:21 +0000 (01:26 +0200)
commitc812db814ebd603106220854e343558ec1115e57
tree488747f3dc083d3afb6906a7831273367d900804
parentdf7e79a5c31efa5bd8ced01d7145ca6fc1dc1bc3
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>
libavcodec/loco.c