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
2bb92db6
Commit
2bb92db6
authored
Jul 11, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove __ prefix in *New() core functions
parent
d8ab9e3d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
17 deletions
+19
-17
src/audio_output/aout_internal.h
src/audio_output/aout_internal.h
+2
-2
src/audio_output/common.c
src/audio_output/common.c
+2
-1
src/input/access.c
src/input/access.c
+4
-3
src/input/access.h
src/input/access.h
+4
-4
src/input/demux.c
src/input/demux.c
+5
-5
src/input/demux.h
src/input/demux.h
+2
-2
No files found.
src/audio_output/aout_internal.h
View file @
2bb92db6
...
@@ -121,9 +121,9 @@ void aout_OutputDelete( aout_instance_t * p_aout );
...
@@ -121,9 +121,9 @@ void aout_OutputDelete( aout_instance_t * p_aout );
/* From common.c : */
/* From common.c : */
#define aout_New(a) __aout_New(VLC_OBJECT(a))
/* Release with vlc_object_release() */
/* Release with vlc_object_release() */
aout_instance_t
*
__aout_New
(
vlc_object_t
*
);
aout_instance_t
*
aout_New
(
vlc_object_t
*
);
#define aout_New(a) aout_New(VLC_OBJECT(a))
void
aout_FifoInit
(
vlc_object_t
*
,
aout_fifo_t
*
,
uint32_t
);
void
aout_FifoInit
(
vlc_object_t
*
,
aout_fifo_t
*
,
uint32_t
);
#define aout_FifoInit(o, f, r) aout_FifoInit(VLC_OBJECT(o), f, r)
#define aout_FifoInit(o, f, r) aout_FifoInit(VLC_OBJECT(o), f, r)
...
...
src/audio_output/common.c
View file @
2bb92db6
...
@@ -43,10 +43,11 @@
...
@@ -43,10 +43,11 @@
/* Local functions */
/* Local functions */
static
void
aout_Destructor
(
vlc_object_t
*
p_this
);
static
void
aout_Destructor
(
vlc_object_t
*
p_this
);
#undef aout_New
/*****************************************************************************
/*****************************************************************************
* aout_New: initialize aout structure
* aout_New: initialize aout structure
*****************************************************************************/
*****************************************************************************/
aout_instance_t
*
__
aout_New
(
vlc_object_t
*
p_parent
)
aout_instance_t
*
aout_New
(
vlc_object_t
*
p_parent
)
{
{
aout_instance_t
*
p_aout
;
aout_instance_t
*
p_aout
;
...
...
src/input/access.c
View file @
2bb92db6
...
@@ -46,10 +46,11 @@ static char *get_path(const char *location)
...
@@ -46,10 +46,11 @@ static char *get_path(const char *location)
return
path
;
return
path
;
}
}
#undef access_New
/*****************************************************************************
/*****************************************************************************
* access_New:
* access_New:
*****************************************************************************/
*****************************************************************************/
access_t
*
__
access_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_parent_input
,
access_t
*
access_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_parent_input
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_location
)
const
char
*
psz_location
)
{
{
...
...
src/input/access.h
View file @
2bb92db6
...
@@ -28,10 +28,10 @@
...
@@ -28,10 +28,10 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_access.h>
#include <vlc_access.h>
#define access_New( a, b, c, d, e ) __access_New(VLC_OBJECT(a), b, c, d, e )
access_t
*
access_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_input
,
access_t
*
__access_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_input
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_path
);
const
char
*
psz_path
);
#define access_New( a, b, c, d, e ) access_New(VLC_OBJECT(a), b, c, d, e )
void
access_Delete
(
access_t
*
);
void
access_Delete
(
access_t
*
);
#endif
#endif
...
...
src/input/demux.c
View file @
2bb92db6
...
@@ -52,12 +52,12 @@ static char *get_path(const char *location)
...
@@ -52,12 +52,12 @@ static char *get_path(const char *location)
return
path
;
return
path
;
}
}
#undef demux_New
/*****************************************************************************
/*****************************************************************************
* demux_New:
* demux_New:
* if s is NULL then load a access_demux
* if s is NULL then load a access_demux
*****************************************************************************/
*****************************************************************************/
demux_t
*
__
demux_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_parent_input
,
demux_t
*
demux_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_parent_input
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_location
,
const
char
*
psz_location
,
stream_t
*
s
,
es_out_t
*
out
,
bool
b_quick
)
stream_t
*
s
,
es_out_t
*
out
,
bool
b_quick
)
...
...
src/input/demux.h
View file @
2bb92db6
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
#include "stream.h"
#include "stream.h"
/* stream_t *s could be null and then it mean a access+demux in one */
/* stream_t *s could be null and then it mean a access+demux in one */
#define demux_New( a, b, c, d, e, f, g, h ) __demux_New(VLC_OBJECT(a),b,c,d,e,f,g,h)
demux_t
*
demux_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_parent_input
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
bool
);
demux_t
*
__demux_New
(
vlc_object_t
*
p_obj
,
input_thread_t
*
p_parent_input
,
const
char
*
psz_access
,
const
char
*
psz_demux
,
const
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
bool
);
#define demux_New( a, b, c, d, e, f, g, h ) demux_New(VLC_OBJECT(a),b,c,d,e,f,g,h)
void
demux_Delete
(
demux_t
*
);
void
demux_Delete
(
demux_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