From da8eb70dc3fcf51dcf686f17a3e55b4b8696b156 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 5 Sep 2015 10:53:55 +0200 Subject: [PATCH] lavf/aiffenc: Clarify an error message. Only one audio stream is allowed in aiff. --- libavformat/aiffenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c index e2828e7508..3abd2840f2 100644 --- a/libavformat/aiffenc.c +++ b/libavformat/aiffenc.c @@ -112,7 +112,7 @@ static int aiff_write_header(AVFormatContext *s) if (aiff->audio_stream_idx < 0 && st->codec->codec_type == AVMEDIA_TYPE_AUDIO) { aiff->audio_stream_idx = i; } else if (st->codec->codec_type != AVMEDIA_TYPE_VIDEO) { - av_log(s, AV_LOG_ERROR, "Only audio streams and pictures are allowed in AIFF.\n"); + av_log(s, AV_LOG_ERROR, "AIFF allows only one audio stream and a picture.\n"); return AVERROR(EINVAL); } }