Commit 566cd2cb authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent f575f08c
...@@ -2371,7 +2371,7 @@ static void event_loop(void) ...@@ -2371,7 +2371,7 @@ static void event_loop(void)
}else }else
pos = url_ftell(cur_stream->ic->pb); pos = url_ftell(cur_stream->ic->pb);
if (cur_stream->ic->bit_rate) if (cur_stream->ic->bit_rate)
incr *= cur_stream->ic->bit_rate / 60.0; incr *= cur_stream->ic->bit_rate / 8.0;
else else
incr *= 180000.0; incr *= 180000.0;
pos += incr; pos += incr;
......
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