From c8bf13ca46877cb91bd278fcb70ed0fc0737e5d7 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Wed, 9 Feb 2011 11:36:02 -0800 Subject: [PATCH] Fix shadowed variable warning in ffms.c --- input/ffms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/input/ffms.c b/input/ffms.c index 5b2af27b..8e76e5a1 100644 --- a/input/ffms.c +++ b/input/ffms.c @@ -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 ); -- 2.47.3