]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rsd.c
Merge commit 'bed2c4b2652b1412b584e5545d6dd2ef8c613be0'
[ffmpeg] / libavformat / rsd.c
index 27a3d73981080471dfae9bf847a6cedfe018623e..1c99f8c21ca5801c0743504415a805dff212a344 100644 (file)
@@ -70,9 +70,7 @@ static int rsd_read_header(AVFormatContext *s)
     par->codec_tag  = avio_rl32(pb);
     par->codec_id   = ff_codec_get_id(rsd_tags, par->codec_tag);
     if (!par->codec_id) {
-        char tag_buf[32];
-
-        av_get_codec_tag_string(tag_buf, sizeof(tag_buf), par->codec_tag);
+        const char *tag_buf = av_fourcc2str(par->codec_tag);
         for (i=0; i < FF_ARRAY_ELEMS(rsd_unsupported_tags); i++) {
             if (par->codec_tag == rsd_unsupported_tags[i]) {
                 avpriv_request_sample(s, "Codec tag: %s", tag_buf);