diff --git a/ChangeLog b/ChangeLog index fc80f74d56..2a1e386b86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-14 Wim Taymans + + As found by: Tommi Myöhänen + + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpinfo): + Use atoll to parse the rtptime with enough precision. Fixes #509329. + 2008-01-14 Tim-Philipp Müller * gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file): diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 2f02c361c4..40a98b5e2c 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -4202,7 +4202,7 @@ gst_rtspsrc_parse_rtpinfo (GstRTSPSrc * src, gchar * rtpinfo) } else if (g_str_has_prefix (fields[j], "seq=")) { seqbase = atoi (fields[j] + 4); } else if (g_str_has_prefix (fields[j], "rtptime=")) { - timebase = atol (fields[j] + 8); + timebase = atoll (fields[j] + 8); } } g_strfreev (fields);