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 272c273d30 Revert "avcodec/jpeglsdec: Check get_bits_left() before
decoding a picture"
272c273d30 is described below
commit 272c273d30f737632e6630458ed36a0bdbfbc3fc
Author: Ramiro Polla <[email protected]>
AuthorDate: Mon Dec 29 20:03:10 2025 +0100
Commit: Ramiro Polla <[email protected]>
CommitDate: Thu Jan 8 23:05:28 2026 +0000
Revert "avcodec/jpeglsdec: Check get_bits_left() before decoding a picture"
This check has been made redundant by f80224ed19a and fe7fbf3a227.
This reverts commit 4bc3008d04451cd31818e21703ed7ed96b6ff074.
---
libavcodec/jpeglsdec.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c
index 154f1ed074..3c899568ec 100644
--- a/libavcodec/jpeglsdec.c
+++ b/libavcodec/jpeglsdec.c
@@ -418,10 +418,6 @@ int ff_jpegls_decode_picture(MJpegDecodeContext *s, int
near,
av_log(s->avctx, AV_LOG_DEBUG, "JPEG params: ILV=%i Pt=%i BPP=%i, scan
= %i\n",
ilv, point_transform, s->bits, s->cur_scan);
}
- if (get_bits_left(&s->gb) < s->height) {
- ret = AVERROR_INVALIDDATA;
- goto end;
- }
if (ilv == 0) { /* separate planes */
if (s->cur_scan > s->nb_components) {
ret = AVERROR_INVALIDDATA;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]