From 7134a5f1e11e09afe70264f8838df394fccea38f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 15 Mar 2012 13:38:16 +0100 Subject: [PATCH] update for memory api changes --- ext/lame/gstlamemp3enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index 9b2737dc15..010d49b77a 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -771,7 +771,7 @@ gst_lamemp3enc_handle_frame (GstAudioEncoder * enc, GstBuffer * in_buf) /* allocate space for output */ mp3_buffer_size = 1.25 * num_samples + 7200; - mp3_buf = gst_buffer_new_allocate (NULL, mp3_buffer_size, 0); + mp3_buf = gst_buffer_new_allocate (NULL, mp3_buffer_size, NULL); gst_buffer_map (mp3_buf, &mp3_map, GST_MAP_WRITE); /* lame seems to be too stupid to get mono interleaved going */