Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb_convert_date: convert tmzone to seconds from minutes, fixes #3567
  • Loading branch information
perexg committed Feb 14, 2016
1 parent d7cab20 commit 3251b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/dvb_support.c
Expand Up @@ -550,7 +550,7 @@ dvb_convert_date(const uint8_t *dvb_buf, int tmzone)
return mktime(&dvb_time);

/* apply offset */
return timegm(&dvb_time) + tmzone;
return timegm(&dvb_time) + tmzone * 60;
}

static time_t _gps_leap_seconds[17] = {
Expand Down

0 comments on commit 3251b8e

Please sign in to comment.