]> git.sesse.net Git - ffmpeg/commitdiff
jpeg2000: Do not warn about known and skippable markers
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 11 Sep 2015 01:00:36 +0000 (03:00 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 11 Sep 2015 16:19:01 +0000 (18:19 +0200)
Matches the openjpeg behaviour.

libavcodec/jpeg2000dec.c

index 6946975fb84f9ac791443e03340670db07677893..f5d5dafff44b533167a9f7d008f13a584ea939a5 100644 (file)
@@ -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);