summaryrefslogtreecommitdiffstats
path: root/dec_audio.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-23 14:11:53 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-23 14:11:53 +0000
commitc7f6cf56e0323ac3e526c383b026f1074bd6ca96 (patch)
tree358b862b0560c7898791363bd8b8dbf98507b619 /dec_audio.c
parenta78afcf3ea856d923f9f37cd14095669a2241174 (diff)
downloadmpv-c7f6cf56e0323ac3e526c383b026f1074bd6ca96.tar.bz2
mpv-c7f6cf56e0323ac3e526c383b026f1074bd6ca96.tar.xz
ima4 type warning fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2425 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_audio.c')
-rw-r--r--dec_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dec_audio.c b/dec_audio.c
index 88b1f8e135..f307219e5c 100644
--- a/dec_audio.c
+++ b/dec_audio.c
@@ -799,7 +799,7 @@ int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen){
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