[FFmpeg-devel] [PATCH] avformat/aiffdec: give message if compressed codec tag is unsupported

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Oct 25 13:54:06 CET 2015


Paul B Mahol <onemda <at> gmail.com> writes:

> +        if (codec->codec_id == AV_CODEC_ID_NONE)
> +            avpriv_request_sample(s, "unknown or 
> unsupported codec tag: 0x%X", codec->codec_tag);

You could use av_get_codec_tag_string() to make 
this more readable.
Looks good either way, Carl Eugen



More information about the ffmpeg-devel mailing list