avcodec/jpeglsdec: only apply color transform to decoded rows
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 2 Jun 2026 00:56:17 +0000 (02:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Jun 2026 02:41:01 +0000 (04:41 +0200)
commit5ff3913787f1eb22781d527b112d034bf08b05dc
tree6334f9f211c3509185846c55484105c5ac1a9ccf
parentcbc62ea2c8a4ad2af31d2f10af304a73213a92db
avcodec/jpeglsdec: only apply color transform to decoded rows

Fixes: Timeout
Fixes: 503996733/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_DEC_fuzzer-4948713016721408
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 3669a742dda9404af26c3ec10b6dd2237a6fa7c5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeglsdec.c