From 8a72bf80e7008e2ef0dbf68fd1ec3335f6ce8a8d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 14 Jan 2008 12:35:23 +0000 Subject: As found by: Tommi Myöhänen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: 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. --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/rtsp') diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 2f02c361..40a98b5e 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); -- cgit