avcodec/argo: Check for even dimensions
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 31 Jul 2021 10:41:34 +0000 (12:41 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Aug 2021 16:05:13 +0000 (18:05 +0200)
commitc2f5e9ff3c8141fe6a2c08f3cc4e46e17b96cbb4
treec143b04d700a9779f3934dadff17e4349193533d
parent2063745a93f3a17ee14ffd01905878b8fdc17023
avcodec/argo: Check for even dimensions

Fixes: reading over the end
Fixes: 36346/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARGO_fuzzer-5366943107383296

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/argo.c