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
8c5cc77b
Commit
8c5cc77b
authored
Feb 16, 2006
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* extras/contrib/src/Patches/x264.patch: removed the exp2f/sqrtf part of
this patch, I committed it upstream instead.
parent
0766ddd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
extras/contrib/src/Patches/x264.patch
extras/contrib/src/Patches/x264.patch
+0
-15
No files found.
extras/contrib/src/Patches/x264.patch
View file @
8c5cc77b
...
...
@@ -32,18 +32,3 @@ diff -ruN x264.orig/Makefile x264/Makefile
etags: TAGS
diff -ruN x264.orig/encoder/ratecontrol.c x264/encoder/ratecontrol.c
--- x264.orig/encoder/ratecontrol.c Sun Jun 5 13:07:28 2005
+++ x264/encoder/ratecontrol.c Sun Jun 26 03:09:52 2005
@@ -37,8 +37,9 @@
#include "common/macroblock.h"
#include "ratecontrol.h"
-#if defined(SYS_FREEBSD) || defined(SYS_BEOS)
-#define exp2f(x) powf( 2, (x) )
+#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_MACOSX)
+#define exp2f(x) (float)pow( 2, (x) )
+#define sqrtf sqrt
#endif
#ifdef _MSC_VER
#define exp2f(x) pow( 2, (x) )
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