[FFmpeg-cvslog] lavf/mux: improve feedback in case of no streams in muxer

Stefano Sabatini git at videolan.org
Sun Dec 15 20:14:11 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Dec 15 18:12:10 2013 +0100| [d37d4b6e4022d96113c5e0c3e8252b9d81f7afe5] | committer: Stefano Sabatini

lavf/mux: improve feedback in case of no streams in muxer

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d37d4b6e4022d96113c5e0c3e8252b9d81f7afe5
---

 libavformat/mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mux.c b/libavformat/mux.c
index 79625c6..f01b82b 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;
     }



More information about the ffmpeg-cvslog mailing list