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/matroskadec.c | |
parent | 67e370ee527e9aa88d8754afd7345ffd9f6f6159 (diff) | |
download | ffmpeg-cd4d6cba122b2d79da8667fa787919b734fa8133.tar.gz |
lavf: fix usages of av_get_codec_tag_string()
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 2e3c9bf197..2e2a814b4f 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -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, |