mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
tcp: work around compiler warnings
This commit is contained in:
parent
576bbb4fd8
commit
8dcb565221
2 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,8 @@ gst_tcp_client_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
|||
} else {
|
||||
/* Connection closed */
|
||||
*outbuf = NULL;
|
||||
data = NULL;
|
||||
read = 0;
|
||||
rret = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -227,6 +227,8 @@ gst_tcp_server_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
|||
/* Connection closed */
|
||||
rret = 0;
|
||||
*outbuf = NULL;
|
||||
data = NULL;
|
||||
read = 0;
|
||||
}
|
||||
|
||||
if (rret == 0) {
|
||||
|
|
Loading…
Reference in a new issue