aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-05 10:53:55 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-05 10:53:55 +0200
commitda8eb70dc3fcf51dcf686f17a3e55b4b8696b156 (patch)
tree49d80e8afc65b6cffa4a390f21deecdfe44e6aac
parent5ab3b6a8a53db1a6d76d5dc61dcde04b14333a2e (diff)
downloadffmpeg-da8eb70dc3fcf51dcf686f17a3e55b4b8696b156.tar.gz
lavf/aiffenc: Clarify an error message.
Only one audio stream is allowed in aiff.
-rw-r--r--libavformat/aiffenc.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}