diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-25 22:39:45 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-25 22:39:45 +0000 |
commit | 1aeb3a74cc5dc0735fa0749140c3bac24d5e848a (patch) | |
tree | b569ce70b73ecc772c4e120966706bbddfac2130 | |
parent | 1aef2d64eaa7dee6ed9538a28757868221b864e1 (diff) |
Always select correct descramblig matrix for sipr audio
Fixes brokenaudio.rmvb
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14597 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/ad_realaud.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_realaud.c b/libmpcodecs/ad_realaud.c index c9d37c0b2c..c86c667a54 100644 --- a/libmpcodecs/ad_realaud.c +++ b/libmpcodecs/ad_realaud.c @@ -446,7 +446,7 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) 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 |