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. --- ChangeLog | 7 +++++++ gst/rtsp/gstrtspsrc.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fc80f74d..2a1e386b 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 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