mpdparser: fixed return with no value

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
This commit is contained in:
Gianluca Gennari 2012-10-08 10:29:04 +02:00 committed by Thiago Santos
parent 7330bbfa7a
commit 8e3092661a

View 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;