Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1683e21e
Commit
1683e21e
authored
Nov 06, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: fix lame on Win32 with mingw-w64
parent
dde3c272
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
17 deletions
+16
-17
contrib/src/lame/lame-forceinline.patch
contrib/src/lame/lame-forceinline.patch
+15
-0
contrib/src/lame/lame-win64.patch
contrib/src/lame/lame-win64.patch
+0
-14
contrib/src/lame/rules.mak
contrib/src/lame/rules.mak
+1
-3
No files found.
contrib/src/lame/lame-forceinline.patch
0 → 100644
View file @
1683e21e
diff -ru lame.orig/libmp3lame/vbrquantize.c lame/libmp3lame/vbrquantize.c
--- lame.orig/libmp3lame/vbrquantize.c 2011-11-06 11:12:40.000000000 +0200
+++ lame/libmp3lame/vbrquantize.c 2011-11-06 11:14:52.000000000 +0200
@@ -73,6 +73,11 @@
# define FORCEINLINE __forceinline
# endif
# endif
+#elif defined (WIN32)
+# define VOLATILE
+/* Make sure FORCEINLINE does not include "extern" */
+# undef FORCEINLINE
+# define FORCEINLINE __inline__ __attribute__((always_inline))
#else
# define VOLATILE
#endif
contrib/src/lame/lame-win64.patch
deleted
100644 → 0
View file @
dde3c272
--- lame/libmp3lame/vbrquantize.c.orig 2011-11-03 10:26:28.414360800 -0400
+++ lame/libmp3lame/vbrquantize.c 2011-11-03 10:26:30.478371043 -0400
@@ -81,6 +81,11 @@
#define FORCEINLINE
#endif
+#ifdef WIN64
+#undef FORCEINLINE
+#define FORCEINLINE __inline__ __attribute__((always_inline))
+#endif
+
typedef VOLATILE union {
float f;
int i;
contrib/src/lame/rules.mak
View file @
1683e21e
...
...
@@ -10,9 +10,7 @@ $(TARBALLS)/lame-$(LAME_VERSION).tar.gz:
lame
:
lame-$(LAME_VERSION).tar.gz .sum-lame
$(UNPACK)
ifdef
HAVE_WIN64
$(APPLY)
$(SRC)
/lame/lame-win64.patch
endif
$(APPLY)
$(SRC)
/lame/lame-forceinline.patch
$(MOVE)
.lame
:
lame
...
...
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