mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
j2kdec: fix 10l typo in initializing sgnd.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
856b33f578
commit
640424e080
@ -227,7 +227,7 @@ static int get_siz(J2kDecoderContext *s)
|
||||
uint8_t x = bytestream_get_byte(&s->buf);
|
||||
s->cbps[i] = (x & 0x7f) + 1;
|
||||
s->precision = FFMAX(s->cbps[i], s->precision);
|
||||
s->sgnd[i] = (x & 0x80) == 1;
|
||||
s->sgnd[i] = !!(x & 0x80);
|
||||
s->cdx[i] = bytestream_get_byte(&s->buf);
|
||||
s->cdy[i] = bytestream_get_byte(&s->buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user