mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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
This commit is contained in:
parent
f575f08ccb
commit
566cd2cba1
1 changed files with 1 additions and 1 deletions
2
ffplay.c
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue