Commit 24caade5 authored by Fiona Glaser's avatar Fiona Glaser

Fix shadowed variable warning in ffms.c

parent eaf5ce20
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment