[vlc-commits] rtp: remove redundant cast
Rémi Denis-Courmont
git at videolan.org
Wed Apr 19 19:49:12 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:29:56 2017 +0300| [f12f3564eb58093a64632193d7c32b7400b08e7e] | committer: Rémi Denis-Courmont
rtp: remove redundant cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f12f3564eb58093a64632193d7c32b7400b08e7e
---
modules/access/rtp/rtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index 82174877e3..0c4a04e13c 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -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;
}
More information about the vlc-commits
mailing list