aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-03-19 10:09:04 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-03-19 10:09:04 +0100
commit78f2833f7808373e4d973ac77c16538b74cf71c1 (patch)
tree742ba08e26666b3d0fbf0ca7de5239152e9ccac5
parent0d293880bab201f2e342496d8d573cfe0a645461 (diff)
downloadffmpeg-78f2833f7808373e4d973ac77c16538b74cf71c1.tar.gz
Tell users about supported audio samplerates in mmf.
-rw-r--r--libavformat/mmf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index b732e1f334..d1e6f81e98 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -68,7 +68,7 @@ static int mmf_write_header(AVFormatContext *s)
rate = mmf_rate_code(s->streams[0]->codec->sample_rate);
if(rate < 0) {
- av_log(s, AV_LOG_ERROR, "Unsupported sample rate %d\n", s->streams[0]->codec->sample_rate);
+ av_log(s, AV_LOG_ERROR, "Unsupported sample rate %d, supported are 4000, 8000, 11025, 22050 and 44100\n", s->streams[0]->codec->sample_rate);
return -1;
}