From 1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a Mon Sep 17 00:00:00 2001 From: Andre Pang Date: Sun, 12 Dec 2004 06:55:58 +0000 Subject: Code cleanups and elimination of some compiler warnings; patch courtesy of AL13N CVS patchset: 7230 CVS date: 2004/12/12 06:55:58 --- src/libspeex/xine_decoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libspeex') diff --git a/src/libspeex/xine_decoder.c b/src/libspeex/xine_decoder.c index ba843d63f..58034b2d3 100644 --- a/src/libspeex/xine_decoder.c +++ b/src/libspeex/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.13 2004/11/12 06:32:54 athp Exp $ + * $Id: xine_decoder.c,v 1.14 2004/12/12 06:55:58 athp Exp $ * * (ogg/)speex audio decoder plugin (libspeex wrapper) for xine */ @@ -327,7 +327,7 @@ static void speex_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { int bitrate; ogg_int16_t * ptr = audio_buffer->mem; - ret = speex_decode (this->st, &this->bits, this->output); + ret = speex_decode (this->st, &this->bits, (short *) this->output); if (ret==-1) break; @@ -341,7 +341,7 @@ static void speex_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { } if (this->channels == 2) { - speex_decode_stereo (this->output, this->frame_size, &this->stereo); + speex_decode_stereo ( (short *) this->output, this->frame_size, &this->stereo); } speex_decoder_ctl (this->st, SPEEX_GET_BITRATE, &bitrate); -- cgit v1.2.3