Commit ac9747bb authored by ogg.k.ogg.k's avatar ogg.k.ogg.k Committed by Jean-Paul Saman

make this compile with older speex versions (mine's from 2002, not sure which actual version)

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent e5007130
...@@ -637,7 +637,7 @@ static aout_buffer_t *DecodeRtpSpeexPacket( decoder_t *p_dec, block_t **pp_block ...@@ -637,7 +637,7 @@ static aout_buffer_t *DecodeRtpSpeexPacket( decoder_t *p_dec, block_t **pp_block
were encountered. were encountered.
*/ */
i_decode_ret = speex_decode_int( p_sys->p_state, &p_sys->bits, i_decode_ret = speex_decode_int( p_sys->p_state, &p_sys->bits,
(spx_int16_t*)p_aout_buffer->p_buffer ); (int16_t*)p_aout_buffer->p_buffer );
if ( i_decode_ret < 0 ) if ( i_decode_ret < 0 )
{ {
msg_Err( p_dec, "Decoding failed. Perhaps we have a bad stream?" ); msg_Err( p_dec, "Decoding failed. Perhaps we have a bad stream?" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment