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/apngdec.c | |
parent | 67e370ee527e9aa88d8754afd7345ffd9f6f6159 (diff) |
lavf: fix usages of av_get_codec_tag_string()
Diffstat (limited to 'libavformat/apngdec.c')
-rw-r--r-- | libavformat/apngdec.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c index 75dcf74a0c..e1ea29b713 100644 --- a/libavformat/apngdec.c +++ b/libavformat/apngdec.c @@ -404,13 +404,9 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt) return ret; return 0; default: - { - char tag_buf[32]; - - av_get_codec_tag_string(tag_buf, sizeof(tag_buf), tag); - avpriv_request_sample(s, "In-stream tag=%s (0x%08X) len=%"PRIu32, tag_buf, tag, len); + avpriv_request_sample(s, "In-stream tag=%s (0x%08X) len=%"PRIu32, + av_fourcc2str(tag), tag, len); avio_skip(pb, len + 4); - } } /* Handle the unsupported yet cases */ |