aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoine Gustafsson <roine@users.sourceforge.net>2005-01-21 21:32:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-21 21:32:37 +0000
commitac930a999cf1d990c840f5f4286ce7f421df7160 (patch)
tree16bc452b0f82d3e35360a16f24258cae7b1f18db
parent6d606c4f5b68fa396d454a896d3223c2c13de2fb (diff)
downloadffmpeg-ac930a999cf1d990c840f5f4286ce7f421df7160.tar.gz
console text to stderr : rev2 patch by (Roine Gustafsson <roine users.sourceforge net>)
Originally committed as revision 3854 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 112710d915..65f9709863 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3775,7 +3775,7 @@ static void opt_target(const char *arg)
}
}
if(verbose && norm >= 0)
- printf("Assuming %s for target.\n", norm ? "NTSC" : "PAL");
+ fprintf(stderr, "Assuming %s for target.\n", norm ? "NTSC" : "PAL");
}
if(norm < 0) {
@@ -3872,7 +3872,7 @@ static void opt_target(const char *arg)
static void show_version(void)
{
- printf("ffmpeg " FFMPEG_VERSION "\n"
+ fprintf(stderr, "ffmpeg " FFMPEG_VERSION "\n"
"libavcodec %d\n"
"libavformat %d\n",
avcodec_build(), LIBAVFORMAT_BUILD);
@@ -4073,14 +4073,14 @@ const OptionDef options[] = {
static void show_banner(void)
{
- printf("ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n",
+ fprintf(stderr, "ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n",
LIBAVCODEC_BUILD);
- printf(" configuration: %s\n", FFMPEG_CONFIGURATION);
- printf(" built on " __DATE__ " " __TIME__);
+ fprintf(stderr, " configuration: %s\n", FFMPEG_CONFIGURATION);
+ fprintf(stderr, " built on " __DATE__ " " __TIME__);
#ifdef __GNUC__
- printf(", gcc: %s\n", __VERSION__);
+ fprintf(stderr, ", gcc: %s\n", __VERSION__);
#else
- printf(", using a non-gcc compiler\n");
+ fprintf(stderr, ", using a non-gcc compiler\n");
#endif
}