This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 2170f397ea Revert "avcodec/mjpegdec: Check for for the bitstream end
in mjpeg_decode_scan_progressive_ac()"
2170f397ea is described below
commit 2170f397eae910bb1ded38043dfb5fb783f416e4
Author: Ramiro Polla <[email protected]>
AuthorDate: Mon Dec 29 15:09:02 2025 +0100
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Thu Jan 8 22:33:01 2026 +0000
Revert "avcodec/mjpegdec: Check for for the bitstream end in
mjpeg_decode_scan_progressive_ac()"
This commit has been made redundant by 909faca929c, which is run more
often (once per mb instead of once per line).
This reverts commit 3782656631fa8262528c07794acf7e9c2aab000d.
---
libavcodec/mjpegdec.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 2d024d0020..3af4b05551 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1614,10 +1614,6 @@ static int
mjpeg_decode_scan_progressive_ac(MJpegDecodeContext *s, int ss,
int block_idx = mb_y * s->block_stride[c];
int16_t (*block)[64] = &s->blocks[c][block_idx];
uint8_t *last_nnz = &s->last_nnz[c][block_idx];
- if (get_bits_left(&s->gb) <= 0) {
- av_log(s->avctx, AV_LOG_ERROR, "bitstream truncated in
mjpeg_decode_scan_progressive_ac\n");
- return AVERROR_INVALIDDATA;
- }
for (mb_x = 0; mb_x < s->mb_width; mb_x++, block++, last_nnz++) {
int ret;
if (s->restart_interval && !s->restart_count)
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]