]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dashenc.c
avdevice/decklink: 10 Bit support for Decklink input device
[ffmpeg] / libavformat / dashenc.c
index e3e68c432d2d7fe76293081964e03838fc683094..8b6be7133e60e00b14e30099b6d52efee162a110 100644 (file)
@@ -282,7 +282,7 @@ static DASHTmplId dash_read_tmpl_id(const char *identifier, char *format_tag,
         // next parse the dash format-tag and generate a c-string format tag
         // (next_ptr now points at the first '%' at the beginning of the format-tag)
         if (id_type != DASH_TMPL_ID_UNDEFINED) {
-            const char *number_format = DASH_TMPL_ID_TIME ? "lld" : "d";
+            const char *number_format = (id_type == DASH_TMPL_ID_TIME) ? PRId64 : "d";
             if (next_ptr[0] == '$') { // no dash format-tag
                 snprintf(format_tag, format_tag_size, "%%%s", number_format);
                 *ptr = &next_ptr[1];