changeset 2424:ff50f2a576f2

ima4 type warning fixed
author arpi
date Tue, 23 Oct 2001 14:11:53 +0000
parents e839eec368f9
children 2280c8410f6b
files dec_audio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dec_audio.c	Tue Oct 23 14:04:21 2001 +0000
+++ b/dec_audio.c	Tue Oct 23 14:11:53 2001 +0000
@@ -799,7 +799,7 @@
       case AFM_IMA4: // IMA-ADPCM 4:1 audio codec:
       { unsigned char ibuf[IMA4_BLOCK_SIZE]; // bytes / frame
         if(demux_read_data(sh_audio->ds,ibuf,IMA4_BLOCK_SIZE)!=IMA4_BLOCK_SIZE) break; // EOF
-        len=2*ima4_decode_block(buf,ibuf,2*IMA4_SAMPLES_PER_BLOCK);
+        len=2*ima4_decode_block((unsigned short*)buf,ibuf,2*IMA4_SAMPLES_PER_BLOCK);
         break;
       }
       case AFM_AC3: // AC3 decoder