[FFmpeg-cvslog] r20822 - in trunk: ffmpeg.c ffplay.c

Reimar Döffinger Reimar.Doeffinger
Sun Dec 13 16:36:15 CET 2009


On Sun, Dec 13, 2009 at 04:15:16PM +0100, Stefano Sabatini wrote:
> > Modified: trunk/ffmpeg.c
> > ==============================================================================
> > --- trunk/ffmpeg.c	Sun Dec 13 11:07:08 2009	(r20821)
> > +++ trunk/ffmpeg.c	Sun Dec 13 14:49:14 2009	(r20822)
> > @@ -3985,6 +3985,9 @@ int main(int argc, char **argv)
> >      /* parse options */
> >      parse_options(argc, argv, options, opt_output_file);
> >  
> > +    if(nb_output_files <= 0 && nb_input_files == 0)
> > +        show_help();
> 
> This is especially disturbing in the case:
> ffmpeg in.avi ... out.avi #yes I perfectly know the syntax but I forgot to add an -i
> [lot of unsolicited help]
> At least one input file must be specified

This should only happen if neither input nor output file were given...



More information about the ffmpeg-cvslog mailing list