]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/matroskadec.c
Merge commit 'ee59f0540875ab42496af2aacddd942757707683'
[ffmpeg] / libavformat / matroskadec.c
index 2e3c9bf197d4c2298457cbb0d536aee2ad891ebf..2e2a814b4ff30c7abf5948d228ed314144da1637 100644 (file)
@@ -2212,12 +2212,9 @@ static int matroska_parse_tracks(AVFormatContext *s)
                 fourcc = MKTAG('S','V','Q','3');
                 codec_id = ff_codec_get_id(ff_codec_movvideo_tags, fourcc);
             }
-            if (codec_id == AV_CODEC_ID_NONE) {
-                char buf[32];
-                av_get_codec_tag_string(buf, sizeof(buf), fourcc);
+            if (codec_id == AV_CODEC_ID_NONE)
                 av_log(matroska->ctx, AV_LOG_ERROR,
-                       "mov FourCC not found %s.\n", buf);
-            }
+                       "mov FourCC not found %s.\n", av_fourcc2str(fourcc));
             if (track->codec_priv.size >= 86) {
                 bit_depth = AV_RB16(track->codec_priv.data + 82);
                 ffio_init_context(&b, track->codec_priv.data,