oldrc: the value read from atoi is in seconds not mtime_t
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 31 May 2018 13:20:10 +0000 (15:20 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Thu, 14 Jun 2018 14:40:32 +0000 (16:40 +0200)
modules/control/oldrc.c

index 8e3bdbb..12e2b05 100644 (file)
@@ -983,7 +983,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
         }
         else
         {
-            mtime_t t = atoi( newval.psz_string );
+            int t = atoi( newval.psz_string );
             var_SetInteger( p_input, "time", CLOCK_FREQ * t );
         }
         i_error = VLC_SUCCESS;