diff options
Diffstat (limited to 'libavformat/aiffdec.c')
-rw-r--r-- | libavformat/aiffdec.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index 7dcc85f1ed..2ef9386edb 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -128,11 +128,9 @@ static int get_aiff_header(AVFormatContext *s, int size, } else if (version == AIFF_C_VERSION1) { par->codec_tag = avio_rl32(pb); par->codec_id = ff_codec_get_id(ff_codec_aiff_tags, par->codec_tag); - if (par->codec_id == AV_CODEC_ID_NONE) { - char tag[32]; - av_get_codec_tag_string(tag, sizeof(tag), par->codec_tag); - avpriv_request_sample(s, "unknown or unsupported codec tag: %s", tag); - } + if (par->codec_id == AV_CODEC_ID_NONE) + avpriv_request_sample(s, "unknown or unsupported codec tag: %s", + av_fourcc2str(par->codec_tag)); size -= 4; } |