summaryrefslogtreecommitdiffstats
path: root/media/ffvpx/libavutil/parseutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/ffvpx/libavutil/parseutils.c')
-rw-r--r--media/ffvpx/libavutil/parseutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/ffvpx/libavutil/parseutils.c b/media/ffvpx/libavutil/parseutils.c
index 6be3730f4..a2464cfc6 100644
--- a/media/ffvpx/libavutil/parseutils.c
+++ b/media/ffvpx/libavutil/parseutils.c
@@ -687,6 +687,7 @@ int av_parse_time(int64_t *timeval, const char *timestr, int duration)
dt2.tm_sec = dt.tm_sec;
dt = dt2;
}
+ dt.tm_isdst = is_utc ? 0 : -1;
t = is_utc ? av_timegm(&dt) : mktime(&dt);
t += tzoffset;
}