diff options
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; } |