]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/jpeg2000dec: Fix return type of get_plt()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Apr 2019 16:57:26 +0000 (18:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Apr 2019 17:18:29 +0000 (19:18 +0200)
Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeg2000dec.c

index 62b0b1f9b7625e9eddbcd853e6ef95569a91ce83..019dc81f56b3c314e87029c842528fd9b1260112 100644 (file)
@@ -829,7 +829,7 @@ static uint8_t get_tlm(Jpeg2000DecoderContext *s, int n)
     return 0;
 }
 
-static uint8_t get_plt(Jpeg2000DecoderContext *s, int n)
+static int get_plt(Jpeg2000DecoderContext *s, int n)
 {
     int i;
     int v;