[FFmpeg-devel] [PATCH] Fix error message for unknown options

Stefano Sabatini stefano.sabatini-lala
Mon Feb 22 13:27:55 CET 2010


On date Monday 2010-02-22 13:05:26 +0100, Michael Niedermayer encoded:
> On Mon, Feb 22, 2010 at 12:36:29PM +0100, Stefano Sabatini wrote:
> > Hi, currently we have:
> > stefano at geppetto ~/s/ffmpeg> ffmpeg -foo "bar"
> > FFmpeg version SVN-r21955, Copyright (c) 2000-2010 the FFmpeg developers
> > ffmpeg: invalid value 'bar' for option 'foo'
> > 
> > With the patch we have:
> > stefano at geppetto ~/s/ffmpeg> ffmpeg -foo bar
> > Unrecognized option 'foo'
> > 
> > Regards.
> > -- 
> > FFmpeg = Fast and Furious Maxi Portable Energized Geisha
> 
> >  cmdutils.c |    6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> > c9cd7d86eb3905c6aa7a3474ee62711d8e98353b  fix-errmsg-for-unknown-opt.patch
> 
> should be ok

Applied.
-- 
FFmpeg = Friendly and Fucking Majestic Proud Easy Governor



More information about the ffmpeg-devel mailing list