From: Michael Niedermayer Date: Wed, 3 Feb 2010 15:19:19 +0000 (+0000) Subject: The convertion between bit and byte is 8 not 60. X-Git-Tag: v0.6~1477 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=566cd2cba10078f7b7d454a2dc5b886f638171ef;p=platform%2Fupstream%2Flibav.git 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 --- 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;