mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Merge commit '3a724a7f3ba7fa766c6a6f0924a15cc742031b8d'
* commit '3a724a7f3ba7fa766c6a6f0924a15cc742031b8d': dashenc: Use inttypes.h macros for format strings instead of %lld Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b7f8e6dd8c
@ -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 = (id_type == 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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user