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
fddf0521
Commit
fddf0521
authored
May 08, 2011
by
Peter Ross
Committed by
Michael Niedermayer
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtv: calculate ole date correctly (is seconds since 1899-12-30)
parent
8acab7ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wtvdec.c
libavformat/wtvdec.c
+1
-1
No files found.
libavformat/wtvdec.c
View file @
fddf0521
...
...
@@ -402,7 +402,7 @@ static void crazytime_to_iso8601(char *buf, int buf_size, int64_t value)
*/
static
int
oledate_to_iso8601
(
char
*
buf
,
int
buf_size
,
int64_t
value
)
{
time_t
t
=
631112400LL
+
86400
*
av_int2dbl
(
value
)
;
time_t
t
=
(
av_int2dbl
(
value
)
-
25569
.
0
)
*
86400
;
struct
tm
result
;
if
(
!
gmtime_r
(
&
t
,
&
result
))
return
-
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