Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f94cd3e8
Commit
f94cd3e8
authored
Feb 20, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix secstotimestr
parent
cded4bcd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/mtime.c
src/misc/mtime.c
+3
-3
No files found.
src/misc/mtime.c
View file @
f94cd3e8
...
@@ -134,11 +134,11 @@ char *secstotimestr( char *psz_buffer, int i_seconds )
...
@@ -134,11 +134,11 @@ char *secstotimestr( char *psz_buffer, int i_seconds )
d
=
div
(
d
.
quot
,
60
);
d
=
div
(
d
.
quot
,
60
);
if
(
d
.
quot
)
if
(
d
.
quot
)
snprintf
(
psz_buffer
,
MSTRTIME_MAX_SIZE
,
"%
d:%2.2d:%2.2d
"
,
snprintf
(
psz_buffer
,
MSTRTIME_MAX_SIZE
,
"%
u:%02u:%02u
"
,
d
.
quot
,
d
.
rem
,
i_seconds
);
d
.
quot
,
d
.
rem
,
i_seconds
);
else
else
snprintf
(
psz_buffer
,
MSTRTIME_MAX_SIZE
,
"%
2.2d:%2.2d
"
,
snprintf
(
psz_buffer
,
MSTRTIME_MAX_SIZE
,
"%
02u:%02u
"
,
d
.
quot
,
i_seconds
);
d
.
rem
,
i_seconds
);
return
psz_buffer
;
return
psz_buffer
;
}
}
...
...
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