[vlc-commits] mux_dummy: remove redundant casts

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


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

mux_dummy: remove redundant casts

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

 modules/mux/dummy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/mux/dummy.c b/modules/mux/dummy.c
index e7aab6ddc7..72c320c4bb 100644
--- a/modules/mux/dummy.c
+++ b/modules/mux/dummy.c
@@ -110,12 +110,12 @@ 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;
 



More information about the vlc-commits mailing list