id3tag: Unconditionally use GLib 2.16 API

This commit is contained in:
Sebastian Dröge 2009-08-30 22:13:26 +02:00
parent 07bd0d87aa
commit b7534074e2

View file

@ -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));
}