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

Michael Niedermayer michaelni
Mon Feb 22 13:05:26 CET 2010


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100222/9d4944e4/attachment.pgp>



More information about the ffmpeg-devel mailing list