[FFmpeg-cvslog] avcodec/jpeg2000dec: Fix return type of get_plt()
Michael Niedermayer
git at videolan.org
Thu Apr 25 20:20:32 EEST 2019
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Apr 25 18:57:26 2019 +0200| [2be0bd12b71cf923bc5d41cc619b7c491860194b] | committer: Michael Niedermayer
avcodec/jpeg2000dec: Fix return type of get_plt()
Found-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2be0bd12b71cf923bc5d41cc619b7c491860194b
---
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;
More information about the ffmpeg-cvslog
mailing list