]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/parseutils.c
avformat/matroskadec: workaround the field_order bug in the Matroska muxer
[ffmpeg] / libavutil / parseutils.c
index a4efd796283c186790ee2920e8f54c9f2fd35f8f..86d3dac57c1713f2d60acaf67a9bb021d884a592 100644 (file)
@@ -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;
     }