[FFmpeg-soc] [soc]: r4255 - wmapro/wma3dec.c

faust3 subversion at mplayerhq.hu
Sat May 2 20:40:29 CEST 2009


Author: faust3
Date: Sat May  2 20:40:28 2009
New Revision: 4255

Log:
clarify how the multiplication factor for bands without M/S stereo coding is calculated

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Fri May  1 23:19:42 2009	(r4254)
+++ wmapro/wma3dec.c	Sat May  2 20:40:28 2009	(r4255)
@@ -1007,8 +1007,8 @@ static void wma_inverse_channel_transfor
                     }
                 }else{
                     for(y=s->cur_sfb_offsets[b];y<FFMIN(s->cur_sfb_offsets[b+1], s->subframe_len);y++){
-                        s->channel[0].coeffs[y] *= 1.4140625f;
-                        s->channel[1].coeffs[y] *= 1.4140625f;
+                        s->channel[0].coeffs[y] *= 181.0 / 128;
+                        s->channel[1].coeffs[y] *= 181.0 / 128;
                     }
                 }
             }


More information about the FFmpeg-soc mailing list