From: Jason Garrett-Glaser Date: Wed, 9 Feb 2011 19:36:02 +0000 (-0800) Subject: Fix shadowed variable warning in ffms.c X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=c8bf13ca46877cb91bd278fcb70ed0fc0737e5d7;p=x264.git Fix shadowed variable warning in ffms.c --- 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 );