jpeg2000: Do not warn about known and skippable markers

Matches the openjpeg behaviour.
pull/151/head
Luca Barbato 9 years ago
parent 9b5a4a9cce
commit db53a2306f
  1. 4
      libavcodec/jpeg2000dec.c

@ -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);

Loading…
Cancel
Save