projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7330bbf
)
mpdparser: fixed return with no value
author
Gianluca Gennari
<gennarone@gmail.com>
Mon, 8 Oct 2012 08:29:04 +0000
(10:29 +0200)
committer
Thiago Santos
<thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 21:13:48 +0000
(18:13 -0300)
gstmpdparser.c: In function ‘gst_mpdparser_get_list_and_nb_of_audio_language’:
gstmpdparser.c:2891: warning: ‘return’ with no value, in function returning non-void
ext/dash/gstmpdparser.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstmpdparser.c
b/ext/dash/gstmpdparser.c
index
c73e518
..
7f24397
100644
(file)
--- a/
ext/dash/gstmpdparser.c
+++ b/
ext/dash/gstmpdparser.c
@@
-2887,8
+2887,9
@@
gst_mpdparser_get_list_and_nb_of_audio_language (GList **lang,
gchar *this_mimeType = "audio";
gchar *mimeType = NULL;
guint nb_adapatation_set = 0;
+
if (AdaptationSets == NULL)
- return;
+ return
0
;
for (list = g_list_first (AdaptationSets); list; list = g_list_next (list)) {
adapt_set = (GstAdaptationSetNode *) list->data;