Commit db53a230 authored by Luca Barbato's avatar Luca Barbato

jpeg2000: Do not warn about known and skippable markers

Matches the openjpeg behaviour.
parent 9b5a4a9c
......@@ -1290,6 +1290,10 @@ static int jpeg2000_read_main_headers(Jpeg2000DecoderContext *s)
properties = s->tile[s->curtileno].properties;
}
break;
case JPEG2000_PLT:
// the PLT marker is ignored
case JPEG2000_PLM:
// the PLM marker is ignored
case JPEG2000_COM:
// the comment is ignored
bytestream2_skip(&s->g, len - 2);
......
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