diff options
author | Edward Hervey <edward@centricular.com> | 2017-01-19 08:37:37 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-01-19 08:38:45 +0100 |
commit | 41fa3fc4998f4369efdec55714eab4d9ec81b8f7 (patch) | |
tree | 60e3c4a4012cf48f7d9ee69a1687c050a892de83 /ext/soup | |
parent | 642331fd7f5b6236049fbd3b56f2f7f8a71ba174 (diff) |
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
Diffstat (limited to 'ext/soup')
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index b12a727eb..a7b1877a2 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -1649,7 +1649,7 @@ static GstFlowReturn gst_soup_http_src_create (GstPushSrc * psrc, GstBuffer ** outbuf) { GstSoupHTTPSrc *src; - GstFlowReturn ret; + GstFlowReturn ret = GST_FLOW_OK; GstEvent *http_headers_event = NULL; src = GST_SOUP_HTTP_SRC (psrc); |