mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
j2kdec: cosmetics from jpeg2000dec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0b42631641
commit
8d9fa738f5
@ -211,9 +211,9 @@ static int get_siz(Jpeg2000DecoderContext *s)
|
|||||||
if (bytestream2_get_bytes_left(&s->g) < 36)
|
if (bytestream2_get_bytes_left(&s->g) < 36)
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
|
||||||
bytestream2_get_be16u(&s->g); // Rsiz (skipped)
|
bytestream2_get_be16u(&s->g); // Rsiz
|
||||||
s->width = bytestream2_get_be32u(&s->g); // width
|
s->width = bytestream2_get_be32u(&s->g); // Width
|
||||||
s->height = bytestream2_get_be32u(&s->g); // height
|
s->height = bytestream2_get_be32u(&s->g); // Height
|
||||||
s->image_offset_x = bytestream2_get_be32u(&s->g); // X0Siz
|
s->image_offset_x = bytestream2_get_be32u(&s->g); // X0Siz
|
||||||
s->image_offset_y = bytestream2_get_be32u(&s->g); // Y0Siz
|
s->image_offset_y = bytestream2_get_be32u(&s->g); // Y0Siz
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user