mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
souphttpsrc: Initialize return variable
In the normal use-case we would end up with ret being unitialized causing havoc. https://bugzilla.gnome.org/show_bug.cgi?id=777222
This commit is contained in:
parent
642331fd7f
commit
41fa3fc499
1 changed files with 1 additions and 1 deletions
|
@ -1649,7 +1649,7 @@ static GstFlowReturn
|
||||||
gst_soup_http_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
gst_soup_http_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
{
|
{
|
||||||
GstSoupHTTPSrc *src;
|
GstSoupHTTPSrc *src;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
GstEvent *http_headers_event = NULL;
|
GstEvent *http_headers_event = NULL;
|
||||||
|
|
||||||
src = GST_SOUP_HTTP_SRC (psrc);
|
src = GST_SOUP_HTTP_SRC (psrc);
|
||||||
|
|
Loading…
Reference in a new issue