Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Steve Lhomme
vlc
Commits
a3b0da44
Commit
a3b0da44
authored
Apr 19, 2017
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accesstweaks: remove redundant casts
parent
8b5b86f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
modules/mux/ogg.c
modules/mux/ogg.c
+3
-3
modules/mux/wav.c
modules/mux/wav.c
+3
-3
modules/stream_filter/accesstweaks.c
modules/stream_filter/accesstweaks.c
+2
-2
No files found.
modules/mux/ogg.c
View file @
a3b0da44
...
...
@@ -327,17 +327,17 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
switch
(
i_query
)
{
case
MUX_CAN_ADD_STREAM_WHILE_MUXING
:
pb_bool
=
(
bool
*
)
va_arg
(
args
,
bool
*
);
pb_bool
=
va_arg
(
args
,
bool
*
);
*
pb_bool
=
true
;
return
VLC_SUCCESS
;
case
MUX_GET_ADD_STREAM_WAIT
:
pb_bool
=
(
bool
*
)
va_arg
(
args
,
bool
*
);
pb_bool
=
va_arg
(
args
,
bool
*
);
*
pb_bool
=
true
;
return
VLC_SUCCESS
;
case
MUX_GET_MIME
:
ppsz
=
(
char
**
)
va_arg
(
args
,
char
**
);
ppsz
=
va_arg
(
args
,
char
**
);
*
ppsz
=
strdup
(
"application/ogg"
);
return
VLC_SUCCESS
;
...
...
modules/mux/wav.c
View file @
a3b0da44
...
...
@@ -135,17 +135,17 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
switch
(
i_query
)
{
case
MUX_CAN_ADD_STREAM_WHILE_MUXING
:
pb_bool
=
(
bool
*
)
va_arg
(
args
,
bool
*
);
pb_bool
=
va_arg
(
args
,
bool
*
);
*
pb_bool
=
false
;
return
VLC_SUCCESS
;
case
MUX_GET_ADD_STREAM_WAIT
:
pb_bool
=
(
bool
*
)
va_arg
(
args
,
bool
*
);
pb_bool
=
va_arg
(
args
,
bool
*
);
*
pb_bool
=
true
;
return
VLC_SUCCESS
;
case
MUX_GET_MIME
:
ppsz
=
(
char
**
)
va_arg
(
args
,
char
**
);
ppsz
=
va_arg
(
args
,
char
**
);
*
ppsz
=
strdup
(
"audio/wav"
);
return
VLC_SUCCESS
;
...
...
modules/stream_filter/accesstweaks.c
View file @
a3b0da44
...
...
@@ -67,14 +67,14 @@ static int Control( stream_t *p_stream, int i_query, va_list args )
case
STREAM_CAN_FASTSEEK
:
if
(
!
p_sys
->
b_fastseek
||
!
p_sys
->
b_seek
)
{
*
((
bool
*
)
va_arg
(
args
,
bool
*
)
)
=
false
;
*
va_arg
(
args
,
bool
*
)
=
false
;
return
VLC_SUCCESS
;
}
break
;
case
STREAM_CAN_SEEK
:
if
(
!
p_sys
->
b_seek
)
{
*
((
bool
*
)
va_arg
(
args
,
bool
*
)
)
=
false
;
*
va_arg
(
args
,
bool
*
)
=
false
;
return
VLC_SUCCESS
;
}
break
;
...
...
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