]> git.sesse.net Git - x264/commitdiff
Fix shadowed variable warning in ffms.c
authorFiona Glaser <fiona@x264.com>
Wed, 9 Feb 2011 19:36:02 +0000 (11:36 -0800)
committerFiona Glaser <fiona@x264.com>
Fri, 18 Feb 2011 09:51:34 +0000 (01:51 -0800)
input/ffms.c

index 5b2af27ba611ba9e1b78724bf592ab5f9735e791..8e76e5a142b65ea3e164998dd3f61ef33e730e45 100644 (file)
@@ -50,12 +50,12 @@ typedef struct
 
 static int FFMS_CC update_progress( int64_t current, int64_t total, void *private )
 {
-    int64_t *time = private;
-    int64_t oldtime = *time;
+    int64_t *update_time = private;
+    int64_t oldtime = *update_time;
     int64_t newtime = x264_mdate();
     if( oldtime && newtime - oldtime < UPDATE_INTERVAL )
         return 0;
-    *time = newtime;
+    *update_time = newtime;
 
     char buf[200];
     sprintf( buf, "ffms [info]: indexing input file [%.1f%%]", 100.0 * current / total );