[Mplayer-cvslog] CVS: main dec_audio.c,1.45,1.46
Arpi of Ize
arpi at mplayer.dev.hu
Tue Oct 23 16:11:56 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv3445
Modified Files:
dec_audio.c
Log Message:
ima4 type warning fixed
Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_audio.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- dec_audio.c 23 Oct 2001 13:56:44 -0000 1.45
+++ dec_audio.c 23 Oct 2001 14:11:53 -0000 1.46
@@ -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
More information about the MPlayer-cvslog
mailing list