You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/jpeg2000dec: Skip SOP
Fixes Ticket4625 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user