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
26902f2e
Commit
26902f2e
authored
Sep 17, 2018
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/webvttenc: Always write hours in the timestamp with two characters.
Fixes ticket #7442. Reviewed-by: Reto Kromer
parent
e33b28cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
webvttenc.c
libavformat/webvttenc.c
+1
-1
No files found.
libavformat/webvttenc.c
View file @
26902f2e
...
...
@@ -38,7 +38,7 @@ static void webvtt_write_time(AVIOContext *pb, int64_t millisec)
min
-=
60
*
hour
;
if
(
hour
>
0
)
avio_printf
(
pb
,
"%"
PRId64
":"
,
hour
);
avio_printf
(
pb
,
"%
02
"
PRId64
":"
,
hour
);
avio_printf
(
pb
,
"%02"
PRId64
":%02"
PRId64
".%03"
PRId64
""
,
min
,
sec
,
millisec
);
}
...
...
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