OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30ee5e
)
Force using a 64bit intermediate when calculating calendar time with av_timegm().
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Fri, 8 Mar 2013 01:42:33 +0000
(
02:42
+0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Fri, 8 Mar 2013 01:42:33 +0000
(
02:42
+0100)
Fixes a fate failure with icc 13.1
libavutil/parseutils.c
patch
|
blob
|
history
diff --git
a/libavutil/parseutils.c
b/libavutil/parseutils.c
index
494801e
..
f2f8f18
100644
(file)
--- a/
libavutil/parseutils.c
+++ b/
libavutil/parseutils.c
@@
-519,7
+519,7
@@
time_t av_timegm(struct tm *tm)
y--;
}
- t = 86400 *
+ t = 86400
LL
*
(d + (153 * m - 457) / 5 + 365 * y + y / 4 - y / 100 + y / 400 - 719469);
t += 3600 * tm->tm_hour + 60 * tm->tm_min + tm->tm_sec;