Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d4925272
Commit
d4925272
authored
Jul 30, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/webvttenc: use proper printf format for int64_t values
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
1bbf94d8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
webvttenc.c
libavformat/webvttenc.c
+2
-2
No files found.
libavformat/webvttenc.c
View file @
d4925272
...
...
@@ -38,9 +38,9 @@ static void webvtt_write_time(AVIOContext *pb, int64_t millisec)
min
-=
60
*
hour
;
if
(
hour
>
0
)
avio_printf
(
pb
,
"%
ld
:"
,
hour
);
avio_printf
(
pb
,
"%
"
PRId64
"
:"
,
hour
);
avio_printf
(
pb
,
"%02
ld:%02ld.%03ld
"
,
min
,
sec
,
millisec
);
avio_printf
(
pb
,
"%02
"
PRId64
":%02"
PRId64
".%03"
PRId64
"
"
,
min
,
sec
,
millisec
);
}
static
int
webvtt_write_header
(
AVFormatContext
*
ctx
)
...
...
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