avcodec/agm: YUV420 without DCT needs even dimensions
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 10 Jan 2020 20:30:38 +0000 (21:30 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 9 Feb 2020 22:33:18 +0000 (23:33 +0100)
commita98eeb0c1e867238905ed095b48184f706adf328
tree73ae96c8f43f255d7153650cc2cd919e39cd99b5
parentda399e213523867dea1229e8f0fd955fed0410e7
avcodec/agm: YUV420 without DCT needs even dimensions

Fixes: out of array access
Fixes: 19892/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5707525924323328

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