avcodec/jpeg2000dec: Fix return type of get_plt()

Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/310/head
Michael Niedermayer 6 years ago
parent e627113329
commit 2be0bd12b7
  1. 2
      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;

Loading…
Cancel
Save