Commit a58f1bcc authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/jpeg2000dec: Skip SOP

Fixes Ticket4625
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4bfdd967
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment