summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2007-08-11 13:12:32 +0000
committerDiego Biurrun <diego@biurrun.de>2007-08-11 13:12:32 +0000
commit74f07805431ab2fa3805a523f0de0ca0b1195482 (patch)
tree5f142688eb60b183fbd8e6fcbfd54268140e90cc /ffmpeg.c
parent5c14a7955ee8828dc06456b92cd030e512bccabf (diff)
Make show-version exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 40aacd7017..33c49fafd2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3544,7 +3544,7 @@ static void opt_show_version(void)
"libavcodec %d\n"
"libavformat %d\n",
LIBAVUTIL_BUILD, avcodec_build(), LIBAVFORMAT_BUILD);
- exit(1);
+ exit(0);
}
static int opt_default(const char *opt, const char *arg){