summaryrefslogtreecommitdiff
path: root/libavformat/mux.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-12-15 18:12:10 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-12-15 20:04:06 +0100
commitd37d4b6e4022d96113c5e0c3e8252b9d81f7afe5 (patch)
treece754b46a5ec8ae646616c3547e43175d7fc0434 /libavformat/mux.c
parent45115315820a14d0c3f836adafb879475736e750 (diff)
lavf/mux: improve feedback in case of no streams in muxer
Diffstat (limited to 'libavformat/mux.c')
-rw-r--r--libavformat/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 79625c6547..f01b82b2ba 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -237,7 +237,7 @@ static int init_muxer(AVFormatContext *s, AVDictionary **options)
// some sanity checks
if (s->nb_streams == 0 && !(of->flags & AVFMT_NOSTREAMS)) {
- av_log(s, AV_LOG_ERROR, "no streams\n");
+ av_log(s, AV_LOG_ERROR, "No streams to mux were specified\n");
ret = AVERROR(EINVAL);
goto fail;
}