avcodec/jpeg2000dec: Fix return type of get_plt()

Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2019-04-25 18:57:26 +02:00
parent fc6cfc0342
commit 991d812f20
+1 -1
View 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;