Move the defines from spec to meson.build
[platform/upstream/gstreamer.git] / ext / hls / m3u8.c
index 6299907..892d1b6 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdlib.h>
 #include <math.h>
 #include <errno.h>
@@ -140,7 +144,7 @@ gst_m3u8_unref (GstM3U8 * self)
 #ifdef TIZEN_FEATURE_AD
     if (self->ad_info) {
       g_list_free (self->ad_info->cue);
-      g_list_free_full(self->ad_info->cue_cont, (GFunc) gst_m3u8_cue_cont_free);
+      g_list_free_full(self->ad_info->cue_cont, (GDestroyNotify) gst_m3u8_cue_cont_free);
       g_free (self->ad_info);
     }
 #endif