]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rmdec.c
matroskadec: Check memory allocations
[ffmpeg] / libavformat / rmdec.c
index 15077646dbc8c9d02a721680f2d9cfe957b6c12c..e2cf61f59061c93b58595381de945a628b4e1036 100644 (file)
@@ -313,7 +313,7 @@ int ff_rm_read_mdpr_codecdata(AVFormatContext *s, AVIOContext *pb,
         int fps;
         if (avio_rl32(pb) != MKTAG('V', 'I', 'D', 'O')) {
         fail1:
-            av_log(st->codec, AV_LOG_ERROR, "Unsupported video codec\n");
+            av_log(s, AV_LOG_WARNING, "Unsupported stream type %08x\n", v);
             goto skip;
         }
         st->codec->codec_tag = avio_rl32(pb);