ximage: fix macros
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 25 Feb 2011 15:28:55 +0000 (16:28 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 28 Feb 2011 10:50:04 +0000 (11:50 +0100)
sys/ximage/ximagesink.h
sys/xvimage/xvimagesink.h

index 4eccb42..ea2b81d 100644 (file)
@@ -158,7 +158,7 @@ struct _GstMetaXImage
 
 const GstMetaInfo * gst_meta_ximage_get_info (void);
 
-#define GST_META_XIMAGE_GET(buf,create) ((GstMetaXImage *)gst_buffer_get_meta(buf,gst_meta_ximage_get_info(),create));
+#define GST_META_XIMAGE_GET(buf,create) ((GstMetaXImage *)gst_buffer_get_meta(buf,gst_meta_ximage_get_info(),create))
 
 /**
  * GstXImageSink:
index 6f513e5..508f765 100644 (file)
@@ -190,7 +190,7 @@ struct _GstMetaXvImage {
 
 const GstMetaInfo * gst_meta_xvimage_get_info (void);
 
-#define GST_META_XVIMAGE_GET(buf,create) ((GstMetaXvImage *)gst_buffer_get_meta(buf,gst_meta_xvimage_get_info(),create));
+#define GST_META_XVIMAGE_GET(buf,create) ((GstMetaXvImage *)gst_buffer_get_meta(buf,gst_meta_xvimage_get_info(),create))
 
 
 /**