ffmpeg: add ui64 type to SpecifierOpt
authorpkviet <pkv.stream@gmail.com>
Sat, 18 Nov 2017 21:19:46 +0000 (22:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Nov 2017 01:40:30 +0000 (02:40 +0100)
 Adds ui64 (uint64_t) as a possible type for SpecifierOpt. This enables
 use of uint64_t options with SpecifierOpt such as channel_layout
 when expressed as a 64 bit channel mask.

Signed-off-by: pkviet <pkv.stream@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
fftools/cmdutils.h

index 2997ee3..fa2b255 100644 (file)
@@ -155,6 +155,7 @@ typedef struct SpecifierOpt {
         uint8_t *str;
         int        i;
         int64_t  i64;
+        uint64_t ui64;
         float      f;
         double   dbl;
     } u;