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

This commit is contained in:
Stefano Sabatini 2013-12-15 18:12:10 +01:00
parent 4511531582
commit d37d4b6e40
1 changed files with 1 additions and 1 deletions

View 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;
}