This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit fa4c24a8d986d705dcd1559ff4ebd5857e3599b4 Author: Ramiro Polla <[email protected]> AuthorDate: Wed Sep 10 16:04:06 2025 +0200 Commit: Ramiro Polla <[email protected]> CommitDate: Fri Feb 20 16:32:10 2026 +0100 avcodec/mjpegdec: remove unnecessary else --- libavcodec/mjpegdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 8486082861..bc349b1794 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -2404,9 +2404,10 @@ redo_for_pal8: &unescaped_buf_ptr, &unescaped_buf_size); /* EOF */ - if (start_code < 0) { + if (start_code < 0) break; - } else if (unescaped_buf_size > INT_MAX / 8) { + + if (unescaped_buf_size > INT_MAX / 8) { av_log(avctx, AV_LOG_ERROR, "MJPEG packet 0x%x too big (%d/%d), corrupt data?\n", start_code, unescaped_buf_size, buf_size); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
