[FFmpeg-devel] [PATCH] Clarify error message in ffprobe when more than input is provided

Michael Niedermayer michaelni
Thu Feb 25 01:52:01 CET 2010


On Thu, Feb 25, 2010 at 01:11:36AM +0100, Stefano Sabatini wrote:
[...]
>  ffplay.c |    5 +++++
>  1 file changed, 5 insertions(+)
> d6c6a292140d03b3c6c29bb9da9345a68fd00f01  ffplay-add-input-check.patch
> Index: ffmpeg/ffplay.c
> ===================================================================
> --- ffmpeg.orig/ffplay.c	2010-02-25 00:56:24.000000000 +0100
> +++ ffmpeg/ffplay.c	2010-02-25 01:10:17.000000000 +0100
> @@ -2670,6 +2670,11 @@
>  
>  static void opt_input_file(const char *filename)
>  {
> +    if (input_filename) {
> +        fprintf(stderr, "Argument '%s' provided as input filename, but '%s' was already specified.\n",
> +                filename, input_filename);
> +        exit(1);
> +    }

want playlist support ...
dont want to review silly error messages saying "no"

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

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20100225/986968d2/attachment.pgp>



More information about the ffmpeg-devel mailing list