mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
id3tag: Unconditionally use GLib 2.16 API
This commit is contained in:
parent
07bd0d87aa
commit
b7534074e2
1 changed files with 0 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue