mpdparser: fixed return with no value
authorGianluca Gennari <gennarone@gmail.com>
Mon, 8 Oct 2012 08:29:04 +0000 (10:29 +0200)
committerThiago 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

index c73e518..7f24397 100644 (file)
@@ -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;