From 0b1e872fa96412fdf7dc54b8f18ab34ac148e65d Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 24 Mar 2002 14:15:36 +0000 Subject: scr unregister patch from Michael Roitzsch, buffer mem release fix, xmalloc_aligned cleanup - fb vo plugin needs to be fixed for this one CVS patchset: 1626 CVS date: 2002/03/24 14:15:36 --- src/liba52/parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/liba52/parse.c') diff --git a/src/liba52/parse.c b/src/liba52/parse.c index e92474761..e98841902 100644 --- a/src/liba52/parse.c +++ b/src/liba52/parse.c @@ -42,12 +42,13 @@ static uint8_t halfrate[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3}; sample_t * a52_init (uint32_t mm_accel) { - sample_t * samples; + sample_t * samples, *samples_base; int i; imdct_init (mm_accel); - samples = xine_xmalloc_aligned (16, 256 * 12 * sizeof (sample_t)); + samples = xine_xmalloc_aligned (16, 256 * 12 * sizeof (sample_t), + &samples_base); if (samples == NULL) return NULL; -- cgit v1.2.3