diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-12-17 20:52:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-04-06 20:27:35 +0200 |
commit | 14249d8a0376ce7d4d40eba0ee81c5973eb4441a (patch) | |
tree | 9adff910fe1c0fdb6742b17622b208b922420313 /tools/fourcc2pixfmt.c | |
parent | 24da8685f00fd8f0da646dd48d3e3103072e8f26 (diff) | |
download | ffmpeg-14249d8a0376ce7d4d40eba0ee81c5973eb4441a.tar.gz |
avcodec/tiff: Use ff_set_dimensions() for setting up mjpeg context dimensions
sets coded_width / coded_height too to keep them consistent with
width / height
Fixes: OOM
Fixes: 42263/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5653333619113984
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit cfa1f0e214d07f0fdc027f2ec760eb9fd3fac85e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/fourcc2pixfmt.c')
0 files changed, 0 insertions, 0 deletions