changeset 14596:500eb730c784

Always select correct descramblig matrix for sipr audio Fixes brokenaudio.rmvb
author rtognimp
date Tue, 25 Jan 2005 22:39:45 +0000
parents 0ddc0ba54747
children 9bc220e867ed
files libmpcodecs/ad_realaud.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_realaud.c	Tue Jan 25 22:25:39 2005 +0000
+++ b/libmpcodecs/ad_realaud.c	Tue Jan 25 22:39:45 2005 +0000
@@ -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