aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-03 15:19:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-03 15:19:19 +0000
commit566cd2cba10078f7b7d454a2dc5b886f638171ef (patch)
tree5c0927ec5c07af81a6be6f251fde65797d6a0dde /ffplay.c
parentf575f08ccbd8fa5c349eda377f9dc1d6a1d16c8a (diff)
downloadffmpeg-566cd2cba10078f7b7d454a2dc5b886f638171ef.tar.gz
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
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 593a6f73b9..7aa742d909 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;