summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-01-28 12:17:02 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-01-28 12:17:02 +0000
commit7c7b58e8393e514d7c6a01ec51c7a24c2c9a8b49 (patch)
tree9c52a5483d4c15a9a0659c60a0006dbd37711289 /gst/rtsp
parent9e88635bc1b759bdb06701f2bdf4f1c0876ed74a (diff)
gst/rtsp/gstrtspsrc.c: Use g_ascii_strtoll() instead of atoll, which is only available in C99.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpinfo): Use g_ascii_strtoll() instead of atoll, which is only available in C99.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 40a98b5e..f693dd88 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -4180,8 +4180,8 @@ gst_rtspsrc_parse_rtpinfo (GstRTSPSrc * src, gchar * rtpinfo)
GST_DEBUG_OBJECT (src, "parsing info %s", infos[i]);
- /* init values, types of seqbase and timebase are bigger than needed so we can
- * store -1 as uninitialized values */
+ /* init values, types of seqbase and timebase are bigger than needed so we
+ * can store -1 as uninitialized values */
stream = NULL;
seqbase = -1;
timebase = -1;
@@ -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 = atoll (fields[j] + 8);
+ timebase = g_ascii_strtoll (fields[j] + 8, NULL, 10);
}
}
g_strfreev (fields);