summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_parser.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-21 14:01:22 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-21 14:01:22 +0000
commitd7244926f5946a3b8ac2ef83953d0e423b2def2a (patch)
tree432afc3ff332e7ceb31090aff30edb3ba453f156 /apps/plugins/mpegplayer/mpeg_parser.c
parent0ac61bffa799ed4817ffd1079617ef6ac933a3f2 (diff)
downloadrockbox-d7244926f5946a3b8ac2ef83953d0e423b2def2a.tar.gz
rockbox-d7244926f5946a3b8ac2ef83953d0e423b2def2a.zip
mpegplayer: use OFF_T_MIN/MAX instead of LONG_MIN/MAX in one spot. Define OFF_T_MIN as well if not already defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26232 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_parser.c')
-rw-r--r--apps/plugins/mpegplayer/mpeg_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_parser.c b/apps/plugins/mpegplayer/mpeg_parser.c
index 06fa01c2e9..6883916149 100644
--- a/apps/plugins/mpegplayer/mpeg_parser.c
+++ b/apps/plugins/mpegplayer/mpeg_parser.c
@@ -60,8 +60,8 @@ void str_end_of_stream(struct stream *str)
60 * its behalf. Set right to the min first so a thread reading the 60 * its behalf. Set right to the min first so a thread reading the
61 * overall window gets doesn't see this as valid no matter what the 61 * overall window gets doesn't see this as valid no matter what the
62 * file length. */ 62 * file length. */
63 str->hdr.win_right = LONG_MIN; 63 str->hdr.win_right = OFF_T_MIN;
64 str->hdr.win_left = LONG_MAX; 64 str->hdr.win_left = OFF_T_MAX;
65 /* No packets */ 65 /* No packets */
66 str->curr_packet = str->curr_packet_end = NULL; 66 str->curr_packet = str->curr_packet_end = NULL;
67 /* No flags */ 67 /* No flags */