[vlc-commits] ty: remove no-op cast
Rémi Denis-Courmont
git at videolan.org
Mon Dec 3 18:56:23 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 3 19:52:53 2018 +0200| [f81b0b20ab981e1821ad98a15af30b2cfe66a677] | committer: Rémi Denis-Courmont
ty: remove no-op cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f81b0b20ab981e1821ad98a15af30b2cfe66a677
---
modules/demux/ty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ty.c b/modules/demux/ty.c
index 6498c4e967..d985c359cc 100644
--- a/modules/demux/ty.c
+++ b/modules/demux/ty.c
@@ -513,7 +513,7 @@ static int Control(demux_t *p_demux, int i_query, va_list args)
case DEMUX_SET_POSITION:
/* arg is 0.0 - 1.0 percent of overall file position */
- f = (double) va_arg( args, double );
+ f = va_arg( args, double );
/* msg_Dbg(p_demux, "Control - set position to %2.3f", f); */
if ((i64 = p_sys->i_stream_size) > 0)
return ty_stream_seek_pct(p_demux, f);
More information about the vlc-commits
mailing list