Browse Source

fftools/ffmpeg_opt: Fix [u]int64_t specifier string

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>
tags/n4.3
Andreas Rheinhardt Marton Balint 5 years ago
parent
commit
d9f38b99dd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      fftools/ffmpeg_opt.c

+ 2
- 2
fftools/ffmpeg_opt.c View File

@@ -46,8 +46,8 @@


#define SPECIFIER_OPT_FMT_str "%s" #define SPECIFIER_OPT_FMT_str "%s"
#define SPECIFIER_OPT_FMT_i "%i" #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_f "%f"
#define SPECIFIER_OPT_FMT_dbl "%lf" #define SPECIFIER_OPT_FMT_dbl "%lf"




Loading…
Cancel
Save