}
#endif
-void image_loader_ft_destroy_image_data(guchar *pixels, gpointer data)
+void image_loader_ft_destroy_image_data(guchar *UNUSED(pixels), gpointer data)
{
image_data *image = (image_data *) data;
video_thumbnailer_destroy_image_data (image);
}
-static gchar* image_loader_ft_get_format_name(gpointer loader)
+static gchar* image_loader_ft_get_format_name(gpointer UNUSED(loader))
{
return g_strdup("ffmpeg");
}
-static gchar** image_loader_ft_get_format_mime_types(gpointer loader)
+static gchar** image_loader_ft_get_format_mime_types(gpointer UNUSED(loader))
{
static gchar *mime[] = {"video/mp4", NULL};
return g_strdupv(mime);}
}
// static gboolean image_loader_ft_loadfromdisk(gpointer loader, const gchar *path, GError **error)
-static gboolean image_loader_ft_load (gpointer loader, const guchar *buf, gsize count, GError **error)
+static gboolean image_loader_ft_load (gpointer loader, const guchar *UNUSED(buf), gsize UNUSED(count), GError **UNUSED(error))
{
ImageLoaderFT *lft = (ImageLoaderFT *) loader;
ImageLoader *il = lft->data;
return lft->pixbuf;
}
-static void image_loader_ft_abort(gpointer loader)
+static void image_loader_ft_abort(gpointer UNUSED(loader))
{
}
-static gboolean image_loader_ft_close(gpointer loader, GError **error)
+static gboolean image_loader_ft_close(gpointer UNUSED(loader), GError **UNUSED(error))
{
return TRUE;
}