mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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.
This commit is contained in:
parent
9e88635bc1
commit
7c7b58e839
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-01-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpinfo):
|
||||
Use g_ascii_strtoll() instead of atoll, which is only
|
||||
available in C99.
|
||||
|
||||
2008-01-25 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||
|
||||
* gst/rtp/Makefile.am:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue