From d37d4b6e4022d96113c5e0c3e8252b9d81f7afe5 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 15 Dec 2013 18:12:10 +0100 Subject: [PATCH] lavf/mux: improve feedback in case of no streams in muxer --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }