diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-03-24 18:45:42 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-03-24 18:45:42 +0000 |
commit | 2946c66c6b4bf911d26196fe6c945180b86a9c67 (patch) | |
tree | 0366f8b6f62d473010900440f95745ddd4bedeb8 /src/liba52/xine_decoder.c | |
parent | 0b1e872fa96412fdf7dc54b8f18ab34ac148e65d (diff) | |
download | xine-lib-2946c66c6b4bf911d26196fe6c945180b86a9c67.tar.gz xine-lib-2946c66c6b4bf911d26196fe6c945180b86a9c67.tar.bz2 |
small fix for liba52
CVS patchset: 1627
CVS date: 2002/03/24 18:45:42
Diffstat (limited to 'src/liba52/xine_decoder.c')
-rw-r--r-- | src/liba52/xine_decoder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_decoder.c index a8db3fb4f..fb8d5fbd1 100644 --- a/src/liba52/xine_decoder.c +++ b/src/liba52/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.19 2002/03/19 17:48:59 guenter Exp $ + * $Id: xine_decoder.c,v 1.20 2002/03/24 18:45:42 guenter Exp $ * * stuff needed to turn liba52 into a xine decoder plugin */ @@ -69,7 +69,7 @@ typedef struct a52dec_decoder_s { int a52_flags_map[11]; int ao_flags_map[11]; - sample_t *samples; + sample_t *samples, *samples_base; ao_instance_t *audio_out; int audio_caps; @@ -159,7 +159,7 @@ void a52dec_init (audio_decoder_t *this_gen, ao_instance_t *audio_out) { this->last_pts = 0; if( !this->samples ) - this->samples = a52_init (xine_mm_accel()); + this->samples = a52_init (xine_mm_accel(), &this->samples_base); /* * find out if this driver supports a52 output @@ -536,7 +536,7 @@ void a52dec_close (audio_decoder_t *this_gen) { this->audio_out->close (this->audio_out); if( this->samples ) { - xine_free_aligned( this->samples ); + free (this->samples_base); this->samples = NULL; } |