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
278a69e8
Commit
278a69e8
authored
Sep 25, 2011
by
Sébastien Toque
Committed by
Rafaël Carré
Sep 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
posix_memalign is not available on android
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
9a391eb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
include/vlc_common.h
include/vlc_common.h
+3
-0
No files found.
include/vlc_common.h
View file @
278a69e8
...
@@ -914,6 +914,9 @@ static void vlc_free(void *ptr)
...
@@ -914,6 +914,9 @@ static void vlc_free(void *ptr)
if
(
ptr
)
if
(
ptr
)
free
((
char
*
)
ptr
-
((
char
*
)
ptr
)[
-
1
]);
free
((
char
*
)
ptr
-
((
char
*
)
ptr
)[
-
1
]);
}
}
#elif defined(__ANDROID__)
# define vlc_memalign(align, size) memalign(align, size)
# define vlc_free(base) free(base)
#else
#else
static
inline
void
*
vlc_memalign
(
size_t
align
,
size_t
size
)
static
inline
void
*
vlc_memalign
(
size_t
align
,
size_t
size
)
{
{
...
...
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