[FFmpeg-devel] [PATCH] Fix error message in cmdutils.c
Stefano Sabatini
stefano.sabatini-lala
Sun Feb 7 16:45:34 CET 2010
On date Sunday 2010-02-07 16:32:21 +0100, Michael Niedermayer encoded:
> On Sun, Feb 07, 2010 at 04:08:59PM +0100, Stefano Sabatini wrote:
> > Hi,
> >
> > currently if the OPT_FUNC2 opt_ function returns a negative value,
> > parse_options() prints:
> >
> > $ ffprobe -format foo
> > [...]
> > Unknown flag: 'foo'
> > ffprobe: unrecognized option 'format'
> >
> > which isn't true as the option exists and is known.
> >
> > With the patch attached this becomes:
> > Unknown flag: 'foo'
> > ffprobe: invalid value 'foo' for option 'format'
> >
> > Regards.
> > --
> > FFmpeg = Furious and Fascinating Mystic Programmable Exciting Generator
>
> > cmdutils.c | 6 ++++--
> > 1 file changed, 4 insertions(+), 2 deletions(-)
> > ffeea6bbc99dd71e5ced35cab6943920b41afff1 fix-cmdutils-errmsg.patch
>
> ok
Applied.
--
FFmpeg = Fancy & Frenzy Merciful Powered Easy Gangster
More information about the ffmpeg-devel
mailing list