Commit 86a45f23 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

gstbuffer: remove incorrect assertion

Offset and sizes have no bearing on each other here.
parent a86f7c3b
......@@ -579,8 +579,6 @@ gst_buffer_new_wrapped_full (gpointer data, GFreeFunc free_func, gsize offset,
{
GstBuffer *newbuf;
g_return_val_if_fail (offset <= size, NULL);
newbuf = gst_buffer_new ();
gst_buffer_take_memory (newbuf, -1,
gst_memory_new_wrapped (free_func ? 0 : GST_MEMORY_FLAG_READONLY,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment