From 2be0bd12b71cf923bc5d41cc619b7c491860194b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 25 Apr 2019 18:57:26 +0200 Subject: [PATCH] avcodec/jpeg2000dec: Fix return type of get_plt() Found-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 62b0b1f9b7..019dc81f56 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -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;