]> git.sesse.net Git - ffmpeg/commitdiff
fftools/ffmpeg_opt: Fix [u]int64_t specifier string
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 18 Mar 2020 02:56:18 +0000 (03:56 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 19 Mar 2020 19:06:12 +0000 (20:06 +0100)
PRId64 and PRIu64 already expand to the complete specifier; adding
another 'd' at the end is wrong and just leads to warnings that say
that only an option like '-frames:v 2d' will be used, although said
option won't be accepted at all ('Expected int64 for frames:v but found
2d').

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
fftools/ffmpeg_opt.c

index b1b322c6eff092d7019363a85f5ed810684eafc6..95001a963ff35b2b6c09d88b2505f74d5d6c12ab 100644 (file)
@@ -46,8 +46,8 @@
 
 #define SPECIFIER_OPT_FMT_str  "%s"
 #define SPECIFIER_OPT_FMT_i    "%i"
-#define SPECIFIER_OPT_FMT_i64  "%"PRId64"d"
-#define SPECIFIER_OPT_FMT_ui64 "%"PRIu64"d"
+#define SPECIFIER_OPT_FMT_i64  "%"PRId64
+#define SPECIFIER_OPT_FMT_ui64 "%"PRIu64
 #define SPECIFIER_OPT_FMT_f    "%f"
 #define SPECIFIER_OPT_FMT_dbl  "%lf"