summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:42:45 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:29 +0200
commit45c6690e26141f1a1747eb3631f04d483e6a2458 (patch)
tree293d94593bc0bbcc0ae76d6749d160bdcd7268c6 /gst/rtsp
parent817d7a30c3c078d134cda35b43159cd7b70c14d5 (diff)
rtspsrc: Remove dead assignment. 'res' isn't read after.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index b8326726..af69d380 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -4448,7 +4448,7 @@ restart:
/* send OPTIONS */
GST_DEBUG_OBJECT (src, "send options...");
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
/* parse OPTIONS */
@@ -4475,7 +4475,7 @@ restart:
/* send DESCRIBE */
GST_DEBUG_OBJECT (src, "send describe...");
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
/* we only perform redirect for the describe, currently */
@@ -4696,7 +4696,7 @@ gst_rtspsrc_close (GstRTSPSrc * src)
if (res < 0)
goto create_request_failed;
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
/* FIXME, parse result? */
@@ -4905,7 +4905,7 @@ gst_rtspsrc_play (GstRTSPSrc * src, GstSegment * segment)
g_free (hval);
}
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
gst_rtsp_message_unset (&request);