[FFmpeg-devel] [PATCH] Remove unnecessary calls to show_help()

Stefano Sabatini stefano.sabatini-lala
Wed Oct 29 23:55:22 CET 2008


On date Wednesday 2008-10-29 00:03:17 +0100, Diego Biurrun encoded:
> On Tue, Oct 28, 2008 at 09:15:16PM +0100, Stefano Sabatini wrote:
> > 
> > --- ffplay.c	(revision 15731)
> > +++ ffplay.c	(working copy)
> > @@ -2553,7 +2553,7 @@
> >      if (!input_filename) {
> > -        show_help();
> > +        fprintf(stderr, "Must supply at least one input file\n");
> 
> You must supply at least one input file.

So I suppose also the ffmpeg.c messages has to be fixed, also since
ffplay only take one input file I changed the message accordingly.

Check the patch below, and yes the ffmpeg.c messages fix would go in a
separate commit.

Regards.
-- 
FFmpeg = Fostering Forgiving Mega Pitiful Elastic Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-unnecessary-show-help-01.patch
Type: text/x-diff
Size: 1227 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081029/47e63a57/attachment.patch>



More information about the ffmpeg-devel mailing list