[FFmpeg-devel] [PATCH] lavf/mux: improve feedback in case of no streams in muxer
Stefano Sabatini
stefasab at gmail.com
Sun Dec 15 18:33:20 CET 2013
---
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;
}
--
1.8.1.2
More information about the ffmpeg-devel
mailing list