matroskadec: don't warn about unknown spherical medata when none is present
[ffmpeg.git] / libavformat / matroskadec.c
index c6e1a190a8e8b9810669202e065b012487803784..3953cd304e2a5693910a9f2f1bf3fc00f7c0934c 100644 (file)
@@ -1658,6 +1658,9 @@ static int mkv_parse_video_projection(AVStream *st, const MatroskaTrack *track)
             return AVERROR_INVALIDDATA;
         }
         break;
+    case MATROSKA_VIDEO_PROJECTION_TYPE_RECTANGULAR:
+        /* No Spherical metadata */
+        return 0;
     default:
         av_log(NULL, AV_LOG_WARNING,
                "Unknown spherical metadata type %"PRIu64"\n",