[vlc-commits] mux_ts: remove redundant casts

Rémi Denis-Courmont git at videolan.org
Wed Apr 19 19:50:57 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:41:52 2017 +0300| [4b144b287adbfa2b1da1de6c676ec5d40ecf49c9] | committer: Rémi Denis-Courmont

mux_ts: remove redundant casts

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b144b287adbfa2b1da1de6c676ec5d40ecf49c9
---

 modules/mux/mpeg/ts.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 5fa30de39e..30c8079d5b 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -838,17 +838,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 = false;
         return VLC_SUCCESS;
 
     case MUX_GET_MIME:
-        ppsz = (char**)va_arg( args, char ** );
+        ppsz = va_arg( args, char ** );
         *ppsz = strdup( "video/mp2t" );
         return VLC_SUCCESS;
 



More information about the vlc-commits mailing list