Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods):
Init value to avoid infinte loops.
2007-05-24 Wim Taymans <wim@fluendo.com>
+ * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods):
+ Init value to avoid infinte loops.
+
+2007-05-24 Wim Taymans <wim@fluendo.com>
+
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_auth),
gst_rtspsrc_parse_methods (GstRTSPSrc * src, RTSPMessage * response)
{
RTSPHeaderField field;
- gchar *respoptions = NULL;
+ gchar *respoptions;
gchar **options;
gint indx = 0;
gint i;
/* try the Allow header first */
field = RTSP_HDR_ALLOW;
while (TRUE) {
+ respoptions = NULL;
rtsp_message_get_header (response, field, &respoptions, indx);
if (indx == 0 && !respoptions) {
/* if no Allow header was found then try the Public header... */