[Ffmpeg-cvslog] CVS: ffmpeg ffmpeg.c,1.365,1.366

Alexander Strasser beastd al
Sat Jan 28 17:23:07 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv24136

Modified Files:
	ffmpeg.c 
Log Message:
Print libavutil version too.


Index: ffmpeg.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffmpeg.c,v
retrieving revision 1.365
retrieving revision 1.366
diff -u -d -r1.365 -r1.366
--- ffmpeg.c	26 Jan 2006 19:38:16 -0000	1.365
+++ ffmpeg.c	28 Jan 2006 16:23:04 -0000	1.366
@@ -3963,10 +3963,12 @@
 
 static void show_version(void)
 {
+    /* TODO: add function interface to avutil and avformat */
     fprintf(stderr, "ffmpeg      " FFMPEG_VERSION "\n"
+           "libavutil   %d\n"
            "libavcodec  %d\n"
            "libavformat %d\n",
-           avcodec_build(), LIBAVFORMAT_BUILD);
+           LIBAVUTIL_BUILD, avcodec_build(), LIBAVFORMAT_BUILD);
     exit(1);
 }
 
@@ -4150,6 +4152,7 @@
 {
     fprintf(stderr, "FFmpeg version " FFMPEG_VERSION ", Copyright (c) 2000-2004 Fabrice Bellard\n");
     fprintf(stderr, "  configuration: " FFMPEG_CONFIGURATION "\n");
+    fprintf(stderr, "  libavutil version: " AV_STRINGIFY(LIBAVUTIL_VERSION) "\n");
     fprintf(stderr, "  libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
     fprintf(stderr, "  libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
     fprintf(stderr, "  built on " __DATE__ " " __TIME__);





More information about the ffmpeg-cvslog mailing list