tcp: work around compiler warnings

This commit is contained in:
Wim Taymans 2012-01-19 09:17:31 +01:00
parent 576bbb4fd8
commit 8dcb565221
2 changed files with 4 additions and 0 deletions

View file

@ -231,6 +231,8 @@ gst_tcp_client_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
} else {
/* Connection closed */
*outbuf = NULL;
data = NULL;
read = 0;
rret = 0;
}

View file

@ -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) {