Browse Source

Print libavfilter version if it is enabled in configure

Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
ab4b28f09d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cmdutils.c

+ 4
- 0
cmdutils.c View File

@@ -25,6 +25,7 @@
#include <math.h>

#include "avformat.h"
#include "avfilter.h"
#include "avdevice.h"
#include "cmdutils.h"
#include "avstring.h"
@@ -183,6 +184,9 @@ void show_banner(const char *program_name, int program_birth_year)
fprintf(stderr, " libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
fprintf(stderr, " libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
fprintf(stderr, " libavdevice version: " AV_STRINGIFY(LIBAVDEVICE_VERSION) "\n");
#if ENABLE_AVFILTER
fprintf(stderr, " libavfilter version: " AV_STRINGIFY(LIBAVFILTER_VERSION) "\n");
#endif
fprintf(stderr, " built on " __DATE__ " " __TIME__);
#ifdef __GNUC__
fprintf(stderr, ", gcc: " __VERSION__ "\n");


Loading…
Cancel
Save