Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
c49ce826
Commit
c49ce826
authored
Dec 31, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libdca: work-around a compiler bug
parent
bdbc5fa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+3
-3
extras/contrib/src/Patches/libdca-llvm-gcc.patch
extras/contrib/src/Patches/libdca-llvm-gcc.patch
+22
-0
No files found.
extras/contrib/src/Makefile
View file @
c49ce826
...
...
@@ -48,9 +48,6 @@ ifdef HAVE_DARWIN_OS
export
CC
export
CXX
export
LD
export
RANLIB
export
AR
export
STRIP
endif
# ***************************************************************************
...
...
@@ -1365,6 +1362,9 @@ libdca-$(LIBDCA_VERSION).tar.bz2:
libdca
:
libdca-$(LIBDCA_VERSION).tar.bz2
$(EXTRACT_BZ2)
ifdef
HAVE_DARWIN_9
(
cd
$@
;
patch
-p0
< ../Patches/libdca-llvm-gcc.patch
)
endif
.dca
:
libdca
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
&&
make
&&
make
install
)
...
...
extras/contrib/src/Patches/libdca-llvm-gcc.patch
0 → 100644
View file @
c49ce826
Index: libdca/parse.c
===================================================================
--- libdca/parse.c (revision 90)
+++ libdca/parse.c (working copy)
@@ -1193,11 +1193,14 @@
for (k=0;k<16;k++)
{
B[k] = 0.0;
- for (i=0;i<16;i++)
+
+ B[k]+=(raXin[0])*state->cos_mod[j++];
+
+ for (i=1;i<16;i++)
{
- if(i>0) B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
- else B[k]+=(raXin[2*i])*state->cos_mod[j++];
+ B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
}
+
SUM[k]=A[k]+B[k];
DIFF[k]=A[k]-B[k];
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment