Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
3a724a7f
Commit
3a724a7f
authored
Jan 21, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashenc: Use inttypes.h macros for format strings instead of %lld
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
1d8aa237
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dashenc.c
libavformat/dashenc.c
+1
-1
No files found.
libavformat/dashenc.c
View file @
3a724a7f
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment