Commit 2a94b0eb authored by Wim Taymans's avatar Wim Taymans
Browse files

rtp: use new memory alloc API

parent 28f67f48
......@@ -109,7 +109,7 @@ gst_rtp_buffer_allocate_data (GstBuffer * buffer, guint payload_len,
len = GST_RTP_HEADER_LEN + csrc_count * sizeof (guint32)
+ payload_len + pad_len;
mem = gst_memory_new_alloc (len, 0);
mem = gst_memory_allocator_alloc (NULL, len, 0);
data = gst_memory_map (mem, NULL, NULL, GST_MAP_WRITE);
/* fill in defaults */
......
Markdown is supported
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