From 93ddef33b65a4a867909019280c5875a27f0b78f Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 16 Jan 2008 02:43:42 +0000 Subject: [PATCH] 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 --- apps/plugins/mpegplayer/stream_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index 53b5631879..ad1df6f31a 100644 --- a/apps/plugins/mpegplayer/stream_mgr.c +++ b/apps/plugins/mpegplayer/stream_mgr.c @@ -357,7 +357,7 @@ static void stream_remember_resume_time(void) uint32_t 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 */ stream_mgr.resume_time = time - start;