utils: update for buffer API change

This commit is contained in:
Wim Taymans 2011-06-13 16:34:18 +02:00
parent 7f4df8f536
commit 4b5cfd1e31

View file

@ -435,7 +435,7 @@ new_aligned_buffer (gint size)
GstBuffer *buf;
buf = gst_buffer_new ();
gst_buffer_take_memory (buf,
gst_buffer_take_memory (buf, -1,
gst_memory_new_wrapped (0, av_malloc (size), av_free, size, 0, size));
return buf;