Commit b0c176cf authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics.

parent 0918c3cf
......@@ -2371,9 +2371,9 @@ static void AVI_IndexCreate( demux_t *p_demux )
if( dialog_ProgressCancelled( p_dialog ) )
break;
double current = stream_Tell( p_demux->s );
double size = stream_Size( p_demux->s );
double f_pos = current / size;
double f_current = stream_Tell( p_demux->s );
double f_size = stream_Size( p_demux->s );
double f_pos = f_current / f_size;
dialog_ProgressSet( p_dialog, NULL, f_pos );
i_dialog_update = mdate();
......
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