diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 01:31:52 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | cd4d6cba122b2d79da8667fa787919b734fa8133 (patch) | |
tree | 3e62a66398e4833fd94d6cee51ba24bd6a236dce /libavformat/rsd.c | |
parent | 67e370ee527e9aa88d8754afd7345ffd9f6f6159 (diff) | |
download | ffmpeg-cd4d6cba122b2d79da8667fa787919b734fa8133.tar.gz |
lavf: fix usages of av_get_codec_tag_string()
Diffstat (limited to 'libavformat/rsd.c')
-rw-r--r-- | libavformat/rsd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/rsd.c b/libavformat/rsd.c index 27a3d73981..1c99f8c21c 100644 --- a/libavformat/rsd.c +++ b/libavformat/rsd.c @@ -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); |