jpeg2000dec & j2kdec: Fix return type of get_sot()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4a9a6a1f35
commit
f399b33c2b
@ -435,7 +435,7 @@ static int get_qcc(Jpeg2000DecoderContext *s, int n, Jpeg2000QuantStyle *q, uint
|
||||
}
|
||||
|
||||
/** get start of tile segment */
|
||||
static uint8_t get_sot(Jpeg2000DecoderContext *s)
|
||||
static int get_sot(Jpeg2000DecoderContext *s)
|
||||
{
|
||||
if (bytestream2_get_bytes_left(&s->g) < 8)
|
||||
return AVERROR(EINVAL);
|
||||
|
@ -406,7 +406,7 @@ static int get_qcc(Jpeg2000DecoderContext *s, int n, Jpeg2000QuantStyle *q,
|
||||
}
|
||||
|
||||
/* Get start of tile segment. */
|
||||
static uint8_t get_sot(Jpeg2000DecoderContext *s, int n)
|
||||
static int get_sot(Jpeg2000DecoderContext *s, int n)
|
||||
{
|
||||
Jpeg2000TilePart *tp;
|
||||
uint16_t Isot;
|
||||
|
Loading…
Reference in New Issue
Block a user