diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-01-14 12:35:23 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-01-14 12:35:23 +0000 |
commit | 8a72bf80e7008e2ef0dbf68fd1ec3335f6ce8a8d (patch) | |
tree | 5f8a30c80c163cf10077b945c373bd45a2cf0ae1 /gst/rtsp | |
parent | 11118eabb9f3b33ce4ae11c4b1da2e34a51c7d35 (diff) |
As found by: Tommi Myöhänen <ext-tommi.myohanen nokia com>
Original commit message from CVS:
As found by: Tommi Myöhänen <ext-tommi.myohanen nokia com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpinfo):
Use atoll to parse the rtptime with enough precision. Fixes #509329.
Diffstat (limited to 'gst/rtsp')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |