[FFmpeg-devel] [PATCH] lavf/mux: improve feedback in case of no streams in muxer
Stefano Sabatini
stefasab at gmail.com
Sun Dec 15 20:15:43 CET 2013
On date Sunday 2013-12-15 18:33:20 +0100, Stefano Sabatini encoded:
> ---
> 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;
> }
Pushed, feel free to improve it.
--
FFmpeg = Freak and Fast Most Puritan Enlightening Gadget
More information about the ffmpeg-devel
mailing list