[MPlayer-cvslog] CVS: main/libmpcodecs ad_realaud.c,1.33,1.34

Roberto Togni CVS syncmail at mplayerhq.hu
Tue Jan 25 23:39:48 CET 2005


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv19083

Modified Files:
	ad_realaud.c 
Log Message:
Always select correct descramblig matrix for sipr audio
Fixes brokenaudio.rmvb


Index: ad_realaud.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_realaud.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ad_realaud.c	3 Nov 2004 02:49:30 -0000	1.33
+++ ad_realaud.c	25 Jan 2005 22:39:45 -0000	1.34
@@ -446,7 +446,7 @@
 			sh->a_in_buffer_size=
 			sh->a_in_buffer_len=sh->wf->nBlockAlign*h;
 		} else
-    if(!sps){
+    if((sh->format == mmioFOURCC('s','i','p','r')) || !sps){ // is !sps really needed? (cook with sipr matrix?)
       // 'sipr' way
       int j,n;
       int bs=h*w*2/96; // nibbles per subpacket




More information about the MPlayer-cvslog mailing list