This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 6bc7400cfaeb14ea02428485b55943a76829aee4 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Jul 5 01:43:49 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sat Sep 19 14:26:53 2026 +0200 avcodec/mjpegdec: reject flipping of bayer images Fixes: assertion failure Fixes: 523522308/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_DEC_fuzzer-4771843818192896 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 40ce1513c6a883bc2b96d33d968013b89dfe76af) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/mjpegdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 9266fd9d13..6465ea57c6 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -2773,7 +2773,7 @@ the_end: } } } - if (s->flipped && !s->rgb) { + if (s->flipped && !s->rgb && !s->bayer) { ret = av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &hshift, &vshift); if (ret) return ret; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
