mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-03-01 16:46:10 +00:00
avcodec/jpeg2000dec: Skip SOP
Fixes Ticket4625 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4bfdd967a6
commit
a58f1bcc4c
@ -812,6 +812,9 @@ static int jpeg2000_decode_packet(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile,
|
||||
}
|
||||
}
|
||||
|
||||
if (bytestream2_peek_be32(&s->g) == 0xFF910004)
|
||||
bytestream2_skip(&s->g, 6);
|
||||
|
||||
if (!(ret = get_bits(s, 1))) {
|
||||
jpeg2000_flush(s);
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user