[vlc-commits] udp: remove redundant casts
Rémi Denis-Courmont
git at videolan.org
Wed Apr 19 19:49:29 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:33:45 2017 +0300| [94212096a632f5548cdd8e7d137f6fab9823da61] | committer: Rémi Denis-Courmont
udp: remove redundant casts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94212096a632f5548cdd8e7d137f6fab9823da61
---
modules/access/udp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/udp.c b/modules/access/udp.c
index bf5e3cbc60..9e242f8c70 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -205,12 +205,12 @@ 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;
case STREAM_GET_PTS_DELAY:
- pi_64 = (int64_t*)va_arg( args, int64_t * );
+ pi_64 = va_arg( args, int64_t * );
*pi_64 = INT64_C(1000)
* var_InheritInteger(p_access, "network-caching");
break;
More information about the vlc-commits
mailing list