The convertion between bit and byte is 8 not 60.

Fixes wrong cursor key seek distances.

Originally committed as revision 21627 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-02-03 15:19:19 +00:00
parent f575f08ccb
commit 566cd2cba1

View File

@ -2371,7 +2371,7 @@ static void event_loop(void)
}else
pos = url_ftell(cur_stream->ic->pb);
if (cur_stream->ic->bit_rate)
incr *= cur_stream->ic->bit_rate / 60.0;
incr *= cur_stream->ic->bit_rate / 8.0;
else
incr *= 180000.0;
pos += incr;