[vlc-commits] linsys_hdsdi: remove redundant casts

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


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

linsys_hdsdi: remove redundant casts

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

 modules/access/linsys/linsys_hdsdi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/linsys/linsys_hdsdi.c b/modules/access/linsys/linsys_hdsdi.c
index f97fa89b4d..83eae16803 100644
--- a/modules/access/linsys/linsys_hdsdi.c
+++ b/modules/access/linsys/linsys_hdsdi.c
@@ -309,12 +309,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
         case DEMUX_CAN_PAUSE:
         case DEMUX_CAN_CONTROL_PACE:
             /* TODO */
-            pb = (bool*)va_arg( args, bool * );
+            pb = va_arg( args, bool * );
             *pb = false;
             return VLC_SUCCESS;
 
         case DEMUX_GET_PTS_DELAY:
-            pi64 = (int64_t*)va_arg( args, int64_t * );
+            pi64 = va_arg( args, int64_t * );
             *pi64 = INT64_C(1000)
                   * var_InheritInteger( p_demux, "live-caching" );
             return VLC_SUCCESS;



More information about the vlc-commits mailing list