From c20bd3e0d8b18a19dc0667f1f74700a6518c046c Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 11 Aug 2007 13:09:35 +0000 Subject: [PATCH] Make ffmpeg -formats exit 0. patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10069 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 3989462d1e..f3e880920e 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3301,7 +3301,7 @@ static void opt_show_formats(void) "even though both encoding and decoding are supported. For example, the h263\n" "decoder corresponds to the h263 and h263p encoders, for file formats it is even\n" "worse.\n"); - exit(1); + exit(0); } static void parse_matrix_coeffs(uint16_t *dest, const char *str)