[FFmpeg-cvslog] avcodec/jpeg2000dec: remove ST=3 case
Michael Niedermayer
git at videolan.org
Wed May 22 23:16:07 EEST 2024
ffmpeg | branch: release/7.0 | Michael Niedermayer <michael at niedermayer.cc> | Fri May 10 16:07:04 2024 +0200| [8c5358c617efeb8ba303bfa9580bd70bbeff6307] | committer: Michael Niedermayer
avcodec/jpeg2000dec: remove ST=3 case
Fixes: CID1460979 Logically dead code
Sponsored-by: Sovereign Tech Fund
Reviewed-by: Tomas Härdin <git at haerdin.se>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 4ed4f9a6c0a99c823706bfc4bb4df53f963f2f5a)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c5358c617efeb8ba303bfa9580bd70bbeff6307
---
libavcodec/jpeg2000dec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 4d28be3656..72aaefbdb3 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -834,9 +834,6 @@ static int get_tlm(Jpeg2000DecoderContext *s, int n)
case 2:
bytestream2_get_be16(&s->g);
break;
- case 3:
- bytestream2_get_be32(&s->g);
- break;
}
if (SP == 0) {
bytestream2_get_be16(&s->g);
More information about the ffmpeg-cvslog
mailing list