Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
62d636ba
Commit
62d636ba
authored
Apr 26, 2002
by
Jon Lech Johansen
Browse files
* Fixed my fix for the fix for vlc_memalign. Sorry O:-)
parent
7ae0024e
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/common.h
View file @
62d636ba
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.10
0
2002/04/26 1
7:07:14
jlj Exp $
* $Id: common.h,v 1.10
1
2002/04/26 1
8:12:28
jlj Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -385,7 +385,7 @@ struct intf_subscription_s;
# define vlc_memalign(pp_orig,align,size) \
(( *(pp_orig) = malloc( size + align - 1 )) \
? (void *)( (((unsigned long)*(pp_orig)) + (unsigned long)(align-1) ) \
& (~(unsigned long)align) ) \
& (~(unsigned long)
(
align
-1)
) ) \
: NULL )
#endif
...
...
Write
Preview
Supports
Markdown
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