From 566cd2cba10078f7b7d454a2dc5b886f638171ef Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 3 Feb 2010 15:19:19 +0000 Subject: [PATCH] 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 --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index 593a6f7..7aa742d 100644 --- a/ffplay.c +++ b/ffplay.c @@ -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; -- 2.7.4