lavf/mux: improve feedback in case of no streams in muxer
authorStefano Sabatini <stefasab@gmail.com>
Sun, 15 Dec 2013 17:12:10 +0000 (18:12 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 15 Dec 2013 19:04:06 +0000 (20:04 +0100)
libavformat/mux.c

index 79625c6..f01b82b 100644 (file)
@@ -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;
     }