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
Steve Lhomme
VLC
Commits
b6281230
Commit
b6281230
authored
Nov 09, 2002
by
Sam Hocevar
Browse files
* ./include/aout_internal.h: fixed a breakage I just introduced.
parent
5d02f37f
Changes
1
Show whitespace changes
Inline
Side-by-side
include/aout_internal.h
View file @
b6281230
...
...
@@ -2,7 +2,7 @@
* aout_internal.h : internal defines for audio output
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: aout_internal.h,v 1.2
8
2002/11/09 1
6:34:52
sam Exp $
* $Id: aout_internal.h,v 1.2
9
2002/11/09 1
8:28:36
sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -35,14 +35,14 @@ typedef struct aout_alloc_t
#define AOUT_ALLOC_HEAP 2
#ifdef HAVE_ALLOCA
# define ALLOCA_TEST \
# define ALLOCA_TEST
( p_alloc, p_new_buffer )
\
if ( (p_alloc)->i_alloc_type == AOUT_ALLOC_STACK ) \
{ \
(p_new_buffer) = alloca( i_alloc_size + sizeof(aout_buffer_t) );\
} \
else
#else
# define ALLOCA_TEST
# define ALLOCA_TEST
( p_alloc, p_new_buffer )
#endif
#define aout_BufferAlloc( p_alloc, i_nb_usec, p_previous_buffer, \
...
...
@@ -56,7 +56,7 @@ typedef struct aout_alloc_t
int i_alloc_size; \
i_alloc_size = (u64)(p_alloc)->i_bytes_per_sec \
* (i_nb_usec) / 1000000 + 1; \
ALLOCA_TEST
\
ALLOCA_TEST
( p_alloc, p_new_buffer )
\
{ \
(p_new_buffer) = malloc( i_alloc_size + sizeof(aout_buffer_t) );\
} \
...
...
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