ffmpeg | branch: master | Carl Eugen Hoyos <ceho...@ag.or.at> | Sat Sep  5 
10:53:55 2015 +0200| [da8eb70dc3fcf51dcf686f17a3e55b4b8696b156] | committer: 
Carl Eugen Hoyos

lavf/aiffenc: Clarify an error message.

Only one audio stream is allowed in aiff.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da8eb70dc3fcf51dcf686f17a3e55b4b8696b156
---

 libavformat/aiffenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c
index e2828e7..3abd284 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);
         }
     }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to