[FFmpeg-devel] [PATCH] ffmpeg_opt: Do not overwrite output if there is no input
Nicolas George
george at nsup.org
Fri Mar 27 08:08:45 CET 2015
Le septidi 7 germinal, an CCXXIII, Michael Niedermayer a écrit :
> + if (!(oc->oformat->flags & AVFMT_NOSTREAMS) && !input_stream_potentially_available) {
> + av_log(NULL, AV_LOG_ERROR,
> + "No input streams but output needs an input stream\n");
> + exit_program(1);
> + }
Was this tested with input coming only from a filter graph (ffmpeg -lavfi
testsrc output.nut)?
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list