summaryrefslogtreecommitdiff
path: root/gst/id3tag
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-30 22:13:26 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-31 08:14:10 +0200
commitb7534074e2217cd2eb5b8310b9123dc459c63ac9 (patch)
treefc315c30bddd47edda98387b1d17dfc6f9b8d5c2 /gst/id3tag
parent07bd0d87aa3b39b79f80d4f68c9ee6a7f1623bb0 (diff)
downloadgstreamer-plugins-bad-b7534074e2217cd2eb5b8310b9123dc459c63ac9.tar.gz
id3tag: Unconditionally use GLib 2.16 API
Diffstat (limited to 'gst/id3tag')
-rw-r--r--gst/id3tag/id3tag.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c
index dd7bb04f7..43c7635a3 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));
}