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

faust3 subversion at mplayerhq.hu
Fri May 1 14:17:35 CEST 2009


Author: faust3
Date: Fri May  1 14:17:35 2009
New Revision: 4250

Log:
removed unneeded division

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Fri May  1 13:27:16 2009	(r4249)
+++ wmapro/wma3dec.c	Fri May  1 14:17:35 2009	(r4250)
@@ -1007,10 +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] *= 362;
-                        s->channel[0].coeffs[y] /= 256;
-                        s->channel[1].coeffs[y] *= 362;
-                        s->channel[1].coeffs[y] /= 256;
+                        s->channel[0].coeffs[y] *= 1.4140625f;
+                        s->channel[1].coeffs[y] *= 1.4140625f;
                     }
                 }
             }


More information about the FFmpeg-soc mailing list