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

2015-10-25 Thread Carl Eugen Hoyos
Paul B Mahol 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

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

2015-10-25 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/aiffdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index f26951d..7de103b 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -128,6 +128,8 @@ static int