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.
This commit is contained in:
Wim Taymans 2008-01-14 12:35:23 +00:00
parent 11118eabb9
commit 8a72bf80e7
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-01-14 Wim Taymans <wim.taymans@collabora.co.uk>
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.
2008-01-14 Tim-Philipp Müller <tim at centricular dot net> 2008-01-14 Tim-Philipp Müller <tim at centricular dot net>
* gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file): * gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file):

View file

@ -4202,7 +4202,7 @@ gst_rtspsrc_parse_rtpinfo (GstRTSPSrc * src, gchar * rtpinfo)
} else if (g_str_has_prefix (fields[j], "seq=")) { } else if (g_str_has_prefix (fields[j], "seq=")) {
seqbase = atoi (fields[j] + 4); seqbase = atoi (fields[j] + 4);
} else if (g_str_has_prefix (fields[j], "rtptime=")) { } else if (g_str_has_prefix (fields[j], "rtptime=")) {
timebase = atol (fields[j] + 8); timebase = atoll (fields[j] + 8);
} }
} }
g_strfreev (fields); g_strfreev (fields);