applemedia: fix compiler warning
authorAlessandro Decina <alessandro.d@gmail.com>
Fri, 26 Aug 2016 12:51:48 +0000 (22:51 +1000)
committerAlessandro Decina <alessandro.d@gmail.com>
Fri, 26 Aug 2016 12:52:41 +0000 (22:52 +1000)
sys/applemedia/corevideomemory.c

index ec26eb3..e8ab72f 100644 (file)
@@ -320,7 +320,7 @@ gst_apple_core_video_memory_new (GstMemoryFlags flags, GstMemory * parent,
   GST_DEBUG ("%p: gpixbuf %p, plane: %" G_GSSIZE_FORMAT ", size %"
       G_GSIZE_FORMAT, mem, mem->gpixbuf, mem->plane, mem->mem.size);
 
-  return (GstMemory *) mem;
+  return mem;
 }
 
 /**