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
b6281230
Commit
b6281230
authored
Nov 09, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./include/aout_internal.h: fixed a breakage I just introduced.
parent
5d02f37f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/aout_internal.h
include/aout_internal.h
+4
-4
No files found.
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 16:34:52
sam Exp $
* $Id: aout_internal.h,v 1.2
9 2002/11/09 18: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
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