summaryrefslogtreecommitdiff
path: root/ext/modplug
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/modplug
parent9f700cc3c4c9b4cc67ea0b44214e22d34cc0dcbb (diff)
downloadgstreamer-plugins-bad-6cbb84038589d8b1086ef6c498c0402f13a83ce4.tar.gz
update for memory api changes
Diffstat (limited to 'ext/modplug')
-rw-r--r--ext/modplug/gstmodplug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc
index 5e1d176fe..d849a44e1 100644
--- a/ext/modplug/gstmodplug.cc
+++ b/ext/modplug/gstmodplug.cc
@@ -722,7 +722,7 @@ gst_modplug_loop (GstModPlug * modplug)
}
/* read and output a buffer */
- out = gst_buffer_new_allocate (NULL, modplug->read_bytes, 0);
+ out = gst_buffer_new_allocate (NULL, modplug->read_bytes, NULL);
gst_buffer_map (out, &map, GST_MAP_WRITE);
if (!modplug->mSoundFile->Read (map.data, modplug->read_bytes)) {