projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8cb08c
)
curlhttpsrc: Fix return value
author
Edward Hervey
<edward@centricular.com>
Tue, 21 Nov 2017 14:33:08 +0000
(15:33 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 21 Nov 2017 14:33:08 +0000
(15:33 +0100)
The function returns a gchar * (and not a boolean)
ext/curl/gstcurlhttpsrc.c
patch
|
blob
|
history
diff --git
a/ext/curl/gstcurlhttpsrc.c
b/ext/curl/gstcurlhttpsrc.c
index
47213c6
..
995b78d
100644
(file)
--- 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);