[vlc-commits] input: use vlc_tick_t with the "length" variable

Steve Lhomme git at videolan.org
Fri Jul 6 12:42:16 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sat May  5 17:56:56 2018 +0200| [dcbe720a539c3e1f714e2aefe7bbaed40c0eee7c] | committer: Steve Lhomme

input: use vlc_tick_t with the "length" variable

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

 src/input/var.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/var.c b/src/input/var.c
index a7ba25db79..8e83457509 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -584,7 +584,7 @@ static int PositionCallback( vlc_object_t *p_this, char const *psz_cmd,
     VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval); VLC_UNUSED(p_data);
 
     /* Update "length" for better intf behaviour */
-    const int64_t i_length = var_GetInteger( p_input, "length" );
+    const vlc_tick_t i_length = var_GetInteger( p_input, "length" );
     if( i_length > 0 && newval.f_float >= 0.f && newval.f_float <= 1.f )
     {
         vlc_value_t val;



More information about the vlc-commits mailing list