forked from len0rd/rockbox
mpegplayer: fix a small mistake in validating the start time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16095 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0ae0e1d271
commit
93ddef33b6
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ static void stream_remember_resume_time(void)
|
||||||
uint32_t start;
|
uint32_t start;
|
||||||
uint32_t time = stream_get_seek_time(&start);
|
uint32_t time = stream_get_seek_time(&start);
|
||||||
|
|
||||||
if (time >= str_parser.start_pts && time < str_parser.end_pts)
|
if (time >= str_parser.start_pts && time <= str_parser.end_pts)
|
||||||
{
|
{
|
||||||
/* Save the current stream time */
|
/* Save the current stream time */
|
||||||
stream_mgr.resume_time = time - start;
|
stream_mgr.resume_time = time - start;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue