aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/iff.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 09:45:35 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commitbec96a7286bc415dd737c8c8f430f0176999e720 (patch)
treeb89f90048e94b153a4a3d7e494d93c57cc7db0a2 /libavformat/iff.c
parentd3cedc54cc872a376851828c88103c653fc8c395 (diff)
downloadffmpeg-bec96a7286bc415dd737c8c8f430f0176999e720.tar.gz
lavf: use av_fourcc2str() where appropriate
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 29fb7bf139..6a09eb0e31 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -296,8 +296,8 @@ static int parse_dsd_prop(AVFormatContext *s, AVStream *st, uint64_t eof)
st->codecpar->codec_tag = tag = avio_rl32(pb);
st->codecpar->codec_id = ff_codec_get_id(dsd_codec_tags, tag);
if (!st->codecpar->codec_id) {
- av_log(s, AV_LOG_ERROR, "'%c%c%c%c' compression is not supported\n",
- tag&0xFF, (tag>>8)&0xFF, (tag>>16)&0xFF, (tag>>24)&0xFF);
+ av_log(s, AV_LOG_ERROR, "'%s' compression is not supported\n",
+ av_fourcc2str(tag));
return AVERROR_PATCHWELCOME;
}
break;