aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-05-10 16:07:04 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-05-15 03:53:25 +0200
commit4ed4f9a6c0a99c823706bfc4bb4df53f963f2f5a (patch)
tree85e517daa189d0743a0b642e714812705ed7d2f4
parent8789c550faf4587527faf0bd4f6c6c5c64a04ae2 (diff)
downloadffmpeg-4ed4f9a6c0a99c823706bfc4bb4df53f963f2f5a.tar.gz
avcodec/jpeg2000dec: remove ST=3 case
Fixes: CID1460979 Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: Tomas Härdin <git@haerdin.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/jpeg2000dec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 28bf6be2fe..135537b52f 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -835,9 +835,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);