summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-11-21 15:33:08 +0100
committerEdward Hervey <bilboed@bilboed.com>2017-11-21 15:33:08 +0100
commit26108d829b86f137e73e85afb0988ff2ce7536cc (patch)
tree8e3a2a8f12c78e9b95b60772f88263d58bf45261
parentb8cb08c319d88db671a52f25df41b7d8a34f20dd (diff)
curlhttpsrc: Fix return value
The function returns a gchar * (and not a boolean)
-rw-r--r--ext/curl/gstcurlhttpsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/gstcurlhttpsrc.c b/ext/curl/gstcurlhttpsrc.c
index 47213c6e1..995b78d8f 100644
--- a/ext/curl/gstcurlhttpsrc.c
+++ b/ext/curl/gstcurlhttpsrc.c
@@ -1412,7 +1412,7 @@ gst_curl_http_src_urihandler_get_uri (GstURIHandler * handler)
gchar *ret;
GstCurlHttpSrc *source;
- g_return_val_if_fail (GST_IS_URI_HANDLER (handler), FALSE);
+ g_return_val_if_fail (GST_IS_URI_HANDLER (handler), NULL);
source = GST_CURLHTTPSRC (handler);
GSTCURL_FUNCTION_ENTRY (source);