Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-04-25 19:57:26 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2019-04-25 20:18:29 +0300
commit2be0bd12b71cf923bc5d41cc619b7c491860194b (patch)
tree2903cb776851587aa52239ee532b705cd065b482 /libavcodec/jpeg2000dec.c
parente627113329da7c7c21b00562515a1f11437716f3 (diff)
avcodec/jpeg2000dec: Fix return type of get_plt()
Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
-rw-r--r--libavcodec/jpeg2000dec.c2
1 files changed, 1 insertions, 1 deletions
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;