summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 01:31:52 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commitcd4d6cba122b2d79da8667fa787919b734fa8133 (patch)
tree3e62a66398e4833fd94d6cee51ba24bd6a236dce /libavformat/movenc.c
parent67e370ee527e9aa88d8754afd7345ffd9f6f6159 (diff)
lavf: fix usages of av_get_codec_tag_string()
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index a660645efe..298d872903 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2377,13 +2377,9 @@ static int mov_write_hdlr_tag(AVFormatContext *s, AVIOContext *pb, MOVTrack *tra
hdlr_type = "tmcd";
descr = "TimeCodeHandler";
} else {
- char tag_buf[32];
- av_get_codec_tag_string(tag_buf, sizeof(tag_buf),
- track->par->codec_tag);
-
av_log(s, AV_LOG_WARNING,
"Unknown hldr_type for %s / 0x%04X, writing dummy values\n",
- tag_buf, track->par->codec_tag);
+ av_fourcc2str(track->par->codec_tag), track->par->codec_tag);
}
if (track->st) {
// hdlr.name is used by some players to identify the content title