summaryrefslogtreecommitdiff
path: root/gst/id3tag
diff options
context:
space:
mode:
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));
}