avcodec/rv10: Execute whole size check earlier for rv20
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Apr 2021 16:43:50 +0000 (18:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Apr 2021 14:58:20 +0000 (16:58 +0200)
commitf8556b632f4b29e54067ecba6f71ceb8af3806e4
tree80c994654a337a930b26857ac8a89cf6709c7f15
parent641c1db22bb27752b925293ad93f68843baa43bf
avcodec/rv10: Execute whole size check earlier for rv20

Fixes: Timeout
Fixes: 31380/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV20_fuzzer-5230899257016320

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