rtp: remove redundant cast
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Apr 2017 17:29:56 +0000 (20:29 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Apr 2017 17:46:56 +0000 (20:46 +0300)
modules/access/rtp/rtp.c

index 8217487..0c4a04e 100644 (file)
@@ -389,7 +389,7 @@ static int Control (demux_t *demux, int query, va_list args)
         case DEMUX_CAN_SEEK:
         case DEMUX_CAN_CONTROL_PACE:
         {
-            bool *v = (bool*)va_arg( args, bool * );
+            bool *v = va_arg( args, bool * );
             *v = false;
             return VLC_SUCCESS;
         }