[SCM] libav/experimental: console text to stderr : rev2 patch by (Roine Gustafsson <roine users.sourceforge net>)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:42:46 UTC 2013
The following commit has been merged in the experimental branch:
commit ac930a999cf1d990c840f5f4286ce7f421df7160
Author: Roine Gustafsson <roine at users.sourceforge.net>
Date: Fri Jan 21 21:32:37 2005 +0000
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
diff --git a/ffmpeg.c b/ffmpeg.c
index 112710d..65f9709 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
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list