summaryrefslogtreecommitdiff
path: root/ext/faad
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-15 13:37:36 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-15 13:37:36 +0100
commit6cbb84038589d8b1086ef6c498c0402f13a83ce4 (patch)
tree6b3c0e0718273325d0a6aaeeecb6a91768d9af81 /ext/faad
parent9f700cc3c4c9b4cc67ea0b44214e22d34cc0dcbb (diff)
downloadgstreamer-plugins-bad-6cbb84038589d8b1086ef6c498c0402f13a83ce4.tar.gz
update for memory api changes
Diffstat (limited to 'ext/faad')
-rw-r--r--ext/faad/gstfaad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 94ac0a781..54a14f38e 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -755,7 +755,7 @@ init:
/* note: info.samples is total samples, not per channel */
/* FIXME, add bufferpool and allocator support to the base class */
- outbuf = gst_buffer_new_allocate (NULL, info.samples * faad->bps, 0);
+ outbuf = gst_buffer_new_allocate (NULL, info.samples * faad->bps, NULL);
gst_buffer_fill (outbuf, 0, out, info.samples * faad->bps);
gst_audio_buffer_reorder_channels (outbuf, GST_AUDIO_FORMAT_S16,
faad->channels, faad->aac_positions, faad->gst_positions);