]> git.sesse.net Git - ffmpeg/commit
avcodec/rl2: set dimensions
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Jul 2019 21:24:35 +0000 (23:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Aug 2019 20:24:07 +0000 (22:24 +0200)
commit965e766e4892cfc45c97cca88895248a7735e7d0
tree3850cdd8e885023b09f1b7aba3a8009e253b714f
parentb2bb09bcc330156e9d79d7ddfa59f9c5d05ca149
avcodec/rl2: set dimensions

The dimensions are always 320x200 they are hardcoded in the demuxer.
Hardcode them instead in the decoder.

Fixes: Timeout (16sec -> 400ms)
Fixes: 15574/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RL2_fuzzer-5158614072819712
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rl2.c