[FFmpeg-cvslog] avcodec/jpeg2000dec: remove ST=3 case
Michael Niedermayer
git at videolan.org
Sat May 25 01:57:25 EEST 2024
ffmpeg | branch: release/6.1 | Michael Niedermayer <michael at niedermayer.cc> | Fri May 10 16:07:04 2024 +0200| [236001ce0b6214bb9b62dbf63248d2b3e1dfcfb7] | 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=236001ce0b6214bb9b62dbf63248d2b3e1dfcfb7
---
libavcodec/jpeg2000dec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index bedc9bc73e..c958c27e3a 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