]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
remove ms audio tags from table, they will be chosen or detected with riff table
[ffmpeg] / cmdutils.c
index 0719063605f7adf9360ecaa573e1f23dfa2531ce..292a290750ac441253ff5baca681059294070cd9 100644 (file)
 #include <errno.h>
 #include <math.h>
 
+#include "config.h"
 #include "avformat.h"
+#include "avfilter.h"
 #include "avdevice.h"
 #include "cmdutils.h"
 #include "avstring.h"
 #include "version.h"
-#include "config.h"
 
 #undef exit
 
@@ -127,7 +128,7 @@ unknown_opt:
             } else if (po->flags & OPT_INT64) {
                 *po->u.int64_arg = parse_number_or_die(opt+1, arg, OPT_INT64, INT64_MIN, INT64_MAX);
             } else if (po->flags & OPT_FLOAT) {
-                *po->u.float_arg = parse_number_or_die(opt+1, arg, OPT_FLOAT, -INFINITY, INFINITY);
+                *po->u.float_arg = parse_number_or_die(opt+1, arg, OPT_FLOAT, -1.0/0.0, 1.0/0.0);
             } else if (po->flags & OPT_FUNC2) {
                 if(po->u.func2_arg(opt+1, arg)<0)
                     goto unknown_opt;
@@ -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");