From: robertl Date: Sun, 29 Aug 2010 19:45:52 +0000 (+0000) Subject: Fix crash in subrip on start of file. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~930 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0676f1b95e3c4a268f0c71e0a4e1af468877fc4e;p=gpsbabel.git Fix crash in subrip on start of file. --- diff --git a/gpsbabel/subrip.c b/gpsbabel/subrip.c index c347c398c..0958ccba3 100644 --- a/gpsbabel/subrip.c +++ b/gpsbabel/subrip.c @@ -157,7 +157,7 @@ subrip_trkpt_pr(const waypoint *waypointp) * way of solving this should be trivial to you :-) */ { - time_offset = sync_time(prevwpp->creation_time, opt_videotime); + time_offset = sync_time(waypointp->creation_time, opt_videotime); } if (prevwpp)