[vlc-commits] dvb: remove redundant casts
Rémi Denis-Courmont
git at videolan.org
Wed Apr 19 19:48:32 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:22:40 2017 +0300| [2d3e13e1bbcbcc7a4b3f828ed2c0ae0c5d712b53] | committer: Rémi Denis-Courmont
dvb: remove redundant casts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d3e13e1bbcbcc7a4b3f828ed2c0ae0c5d712b53
---
modules/access/dvb/access.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 79cfd7983d..8360e627a5 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -395,7 +395,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case STREAM_CAN_FASTSEEK:
case STREAM_CAN_PAUSE:
case STREAM_CAN_CONTROL_PACE:
- pb_bool = (bool*)va_arg( args, bool* );
+ pb_bool = va_arg( args, bool * );
*pb_bool = false;
break;
@@ -404,13 +404,13 @@ static int Control( access_t *p_access, int i_query, va_list args )
return VLC_SUCCESS;
case STREAM_GET_PTS_DELAY:
- pi_64 = (int64_t*)va_arg( args, int64_t * );
+ pi_64 = va_arg( args, int64_t * );
*pi_64 = DEFAULT_PTS_DELAY;
break;
case STREAM_GET_SIGNAL:
- pf1 = (double*)va_arg( args, double * );
- pf2 = (double*)va_arg( args, double * );
+ pf1 = va_arg( args, double * );
+ pf2 = va_arg( args, double * );
*pf1 = *pf2 = 0;
if( !FrontendGetStatistic( &sys->dvb, &stat ) )
More information about the vlc-commits
mailing list