From 2a94b0eb04f4b5efb3ef7b838653d4eb4b8ddc43 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 7 Jun 2011 16:18:40 +0200 Subject: [PATCH] rtp: use new memory alloc API --- gst-libs/gst/rtp/gstrtpbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/rtp/gstrtpbuffer.c b/gst-libs/gst/rtp/gstrtpbuffer.c index 7e5de64..35bc0c1 100644 --- a/gst-libs/gst/rtp/gstrtpbuffer.c +++ b/gst-libs/gst/rtp/gstrtpbuffer.c @@ -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 */ -- 2.7.4