[gst-cvs] gst-plugins-bad: id3tag: Unconditionally use GLib 2.16 API

Sebastian Dröge slomo at kemper.freedesktop.org
Sun Aug 30 23:19:14 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: b7534074e2217cd2eb5b8310b9123dc459c63ac9
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=b7534074e2217cd2eb5b8310b9123dc459c63ac9

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Sun Aug 30 22:13:26 2009 +0200

id3tag: Unconditionally use GLib 2.16 API

---

 gst/id3tag/id3tag.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c
index dd7bb04..43c7635 100644
--- a/gst/id3tag/id3tag.c
+++ b/gst/id3tag/id3tag.c
@@ -103,9 +103,7 @@ gst_byte_writer_copy_bytes (GstByteWriter * w, guint8 * dest, guint offset,
   if (size == -1)
     size = length - offset;
 
-#if GLIB_CHECK_VERSION(2,16,0)
   g_warn_if_fail (length >= (offset + size));
-#endif
 
   memcpy (dest, w->str + offset, MIN (size, length - offset));
 }





More information about the Gstreamer-commits mailing list