[Mplayer-cvslog] CVS: main dec_audio.c,1.83,1.84

Mike Melanson melanson at mplayer.dev.hu
Tue Mar 12 02:32:56 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv15056

Modified Files:
	dec_audio.c 
Log Message:
fixed long-standing issue with stereo IMA4 decoder


Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_audio.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- dec_audio.c	25 Feb 2002 02:48:37 -0000	1.83
+++ dec_audio.c	12 Mar 2002 01:32:46 -0000	1.84
@@ -418,7 +418,7 @@
 case AFM_IMAADPCM:
   sh_audio->audio_out_minsize=4096;
   sh_audio->ds->ss_div=IMA_ADPCM_SAMPLES_PER_BLOCK;
-  sh_audio->ds->ss_mul=IMA_ADPCM_BLOCK_SIZE;
+  sh_audio->ds->ss_mul=IMA_ADPCM_BLOCK_SIZE * sh_audio->wf->nChannels;
   break;
 case AFM_MSADPCM:
   sh_audio->audio_out_minsize=sh_audio->wf->nBlockAlign * 8;




More information about the MPlayer-cvslog mailing list