mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
rtspsrc: Remove dead assignment. 'res' isn't read after.
This commit is contained in:
parent
817d7a30c3
commit
45c6690e26
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue