diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-04 18:28:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-06 21:02:04 +0200 |
commit | 3543522d200f46a9a2782b95c83c031626fd7a04 (patch) | |
tree | 39551474127f03df9e6809644e1eda04c3f41819 /libavcodec/diractab.h | |
parent | 0a4745145840d97619c424961c1b5c625dbf516c (diff) | |
download | ffmpeg-3543522d200f46a9a2782b95c83c031626fd7a04.tar.gz |
avcodec/jpeg2000dec: Reduce the number of tile parts allocated
This is large enough for all jpeg2000 files i tested. If some need more then this
should be changed to dynamic allocation. Dynamic allocation would need to be done
carefully as these are many relatively small arrays so repeatly reallocating them
would not be good.
The decrease is a clean and simple solution assuming it works for all files.
Fixes: OOM
Fixes: 6534/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-4821490731057152
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/diractab.h')
0 files changed, 0 insertions, 0 deletions