Commit f4fafb0a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

gme: fix warning

parent 6505d4ea
......@@ -248,8 +248,12 @@ static int Control (demux_t *demux, int query, va_list args)
|| (sys->titlev[sys->track_id]->i_length == 0))
*pos = 0.;
else
*pos = (double)(gme_tell (sys->emu))
{
int offset = gme_tell (sys->emu);
*pos = (double)offset
/ (double)(sys->titlev[sys->track_id]->i_length / 1000);
}
return VLC_SUCCESS;
}
......
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