[vlc-commits] mux_avi: remove redundant casts

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


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

mux_avi: remove redundant casts

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

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

diff --git a/modules/mux/avi.c b/modules/mux/avi.c
index 86e91c416b..b4a55a2a75 100644
--- a/modules/mux/avi.c
+++ b/modules/mux/avi.c
@@ -275,17 +275,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( "video/avi" );
            return VLC_SUCCESS;
 



More information about the vlc-commits mailing list