plugins: fix build when gcc
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 9 Feb 2017 11:49:44 +0000 (12:49 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 9 Feb 2017 11:49:44 +0000 (12:49 +0100)
In commit a8e482f9 we added a function without parameters, but gcc
doesn't like that.

gst/vaapi/gstvaapipluginbase.c

index 7509efa..a60498d 100644 (file)
@@ -540,7 +540,7 @@ error_create_allocator:
 }
 
 static inline guint
-get_dmabuf_surface_allocation_flags ()
+get_dmabuf_surface_allocation_flags (void)
 {
   /* @FIXME: fetch the real devices ids */
   /* Pair vendor/device identifies an unique physical device. */