Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7dc37abe
Commit
7dc37abe
authored
Jul 12, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unneeded leading __ in functions names
parent
17bb975a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
modules/control/rc.c
modules/control/rc.c
+2
-3
modules/video_filter/mosaic.c
modules/video_filter/mosaic.c
+3
-3
modules/video_filter/mosaic.h
modules/video_filter/mosaic.h
+2
-2
No files found.
modules/control/rc.c
View file @
7dc37abe
...
@@ -136,10 +136,8 @@ struct intf_sys_t
...
@@ -136,10 +136,8 @@ struct intf_sys_t
#endif
#endif
};
};
#define msg_rc( ... ) __msg_rc( p_intf, __VA_ARGS__ )
VLC_FORMAT
(
2
,
3
)
VLC_FORMAT
(
2
,
3
)
static
void
__
msg_rc
(
intf_thread_t
*
p_intf
,
const
char
*
psz_fmt
,
...
)
static
void
msg_rc
(
intf_thread_t
*
p_intf
,
const
char
*
psz_fmt
,
...
)
{
{
va_list
args
;
va_list
args
;
char
fmt_eol
[
strlen
(
psz_fmt
)
+
3
];
char
fmt_eol
[
strlen
(
psz_fmt
)
+
3
];
...
@@ -153,6 +151,7 @@ static void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... )
...
@@ -153,6 +151,7 @@ static void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... )
net_vaPrintf
(
p_intf
,
p_intf
->
p_sys
->
i_socket
,
NULL
,
fmt_eol
,
args
);
net_vaPrintf
(
p_intf
,
p_intf
->
p_sys
->
i_socket
,
NULL
,
fmt_eol
,
args
);
va_end
(
args
);
va_end
(
args
);
}
}
#define msg_rc( ... ) msg_rc( p_intf, __VA_ARGS__ )
/*****************************************************************************
/*****************************************************************************
* Module descriptor
* Module descriptor
...
...
modules/video_filter/mosaic.c
View file @
7dc37abe
...
@@ -240,9 +240,7 @@ static const char *const ppsz_filter_options[] = {
...
@@ -240,9 +240,7 @@ static const char *const ppsz_filter_options[] = {
* parse the "--mosaic-offsets x1,y1,x2,y2,x3,y3" parameter
* parse the "--mosaic-offsets x1,y1,x2,y2,x3,y3" parameter
* and set the corresponding struct filter_sys_t entries.
* and set the corresponding struct filter_sys_t entries.
*****************************************************************************/
*****************************************************************************/
#define mosaic_ParseSetOffsets( a, b, c ) \
static
void
mosaic_ParseSetOffsets
(
vlc_object_t
*
p_this
,
__mosaic_ParseSetOffsets( VLC_OBJECT( a ), b, c )
static
void
__mosaic_ParseSetOffsets
(
vlc_object_t
*
p_this
,
filter_sys_t
*
p_sys
,
filter_sys_t
*
p_sys
,
char
*
psz_offsets
)
char
*
psz_offsets
)
{
{
...
@@ -274,6 +272,8 @@ static void __mosaic_ParseSetOffsets( vlc_object_t *p_this,
...
@@ -274,6 +272,8 @@ static void __mosaic_ParseSetOffsets( vlc_object_t *p_this,
p_sys
->
i_offsets_length
=
i_index
;
p_sys
->
i_offsets_length
=
i_index
;
}
}
}
}
#define mosaic_ParseSetOffsets( a, b, c ) \
mosaic_ParseSetOffsets( VLC_OBJECT( a ), b, c )
/*****************************************************************************
/*****************************************************************************
* CreateFiler: allocate mosaic video filter
* CreateFiler: allocate mosaic video filter
...
...
modules/video_filter/mosaic.h
View file @
7dc37abe
...
@@ -41,8 +41,7 @@ typedef struct bridge_t
...
@@ -41,8 +41,7 @@ typedef struct bridge_t
int
i_es_num
;
int
i_es_num
;
}
bridge_t
;
}
bridge_t
;
#define GetBridge(a) __GetBridge( VLC_OBJECT(a) )
static
bridge_t
*
GetBridge
(
vlc_object_t
*
p_object
)
static
bridge_t
*
__GetBridge
(
vlc_object_t
*
p_object
)
{
{
vlc_object_t
*
p_libvlc
=
VLC_OBJECT
(
p_object
->
p_libvlc
);
vlc_object_t
*
p_libvlc
=
VLC_OBJECT
(
p_object
->
p_libvlc
);
vlc_value_t
val
;
vlc_value_t
val
;
...
@@ -56,4 +55,5 @@ static bridge_t *__GetBridge( vlc_object_t *p_object )
...
@@ -56,4 +55,5 @@ static bridge_t *__GetBridge( vlc_object_t *p_object )
return
val
.
p_address
;
return
val
.
p_address
;
}
}
}
}
#define GetBridge(a) GetBridge( VLC_OBJECT(a) )
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