[FFmpeg-cvslog] r21627 - trunk/ffplay.c
michael
subversion
Wed Feb 3 16:19:19 CET 2010
Author: michael
Date: Wed Feb 3 16:19:19 2010
New Revision: 21627
Log:
The convertion between bit and byte is 8 not 60.
Fixes wrong cursor key seek distances.
Modified:
trunk/ffplay.c
Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c Wed Feb 3 16:09:04 2010 (r21626)
+++ trunk/ffplay.c Wed Feb 3 16:19:19 2010 (r21627)
@@ -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;
More information about the ffmpeg-cvslog
mailing list