Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb_convert_date - fix tmzone handling (signess), fixes #3567
  • Loading branch information
perexg committed Feb 16, 2016
1 parent fc6c363 commit 2327444
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 * 60;
return timegm(&dvb_time) - tmzone * 60;
}

static time_t _gps_leap_seconds[17] = {
Expand Down

0 comments on commit 2327444

Please sign in to comment.