~ubuntu-branches/ubuntu/karmic/vlc/karmic-proposed

« back to all changes in this revision

Viewing changes to extras/contrib/src/Patches/libdca-llvm-gcc.patch

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-05 12:28:15 UTC
  • mfrom: (1.1.22 upstream) (3.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090605122815-2c0lyqjm84jo1lcn
Tags: 1.0.0~rc2-1ubuntu1
* New upstream version.
* tighten build-dependencies on libschroedinger-dev, fixes FTBFS.
* Following bugs have an associated and now closed upstream ticket in
  Launchpad: LP: #281295, #73449, #282567, #117640, #172938, #260918,
  #273685, #275043, #277834, #282394, #290753, #294136, #298925, #304265,
  #309728, #311742, #314038

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: libdca/parse.c
 
2
===================================================================
 
3
--- libdca/parse.c      (revision 90)
 
4
+++ libdca/parse.c      (working copy)
 
5
@@ -1193,11 +1193,14 @@
 
6
         for (k=0;k<16;k++)
 
7
         {
 
8
             B[k] = 0.0;
 
9
-            for (i=0;i<16;i++)
 
10
+
 
11
+            B[k]+=(raXin[0])*state->cos_mod[j++];
 
12
+
 
13
+            for (i=1;i<16;i++)
 
14
             {
 
15
-                if(i>0) B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
 
16
-                else B[k]+=(raXin[2*i])*state->cos_mod[j++];
 
17
+                B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
 
18
             }
 
19
+
 
20
             SUM[k]=A[k]+B[k];
 
21
             DIFF[k]=A[k]-B[k];
 
22
         }