diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-08-28 08:59:14 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-08-28 08:59:14 +0000 |
commit | 9384cda2bb5c1d155f65fadfbd2d3036fc22b855 (patch) | |
tree | ef97e9f1e2d1c893ab98c2a512c2b291d9473cbe | |
parent | 7ad2cad173ffa094bb285112582afee1c9aea4e5 (diff) | |
download | rockbox-9384cda2bb5c1d155f65fadfbd2d3036fc22b855.tar.gz rockbox-9384cda2bb5c1d155f65fadfbd2d3036fc22b855.zip |
Remove INT_MAX from pcmbuf.c. Win32 sim compained about it and it isn't specifically important enough for another #include - it just needs a great enough value to cover any remaining data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30367 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/pcmbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index f57021d237..7209dc1638 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c | |||
@@ -1017,7 +1017,7 @@ static void crossfade_start(void) | |||
1017 | } | 1017 | } |
1018 | 1018 | ||
1019 | /* zero out the rest of the buffer */ | 1019 | /* zero out the rest of the buffer */ |
1020 | crossfade_mix_fade(0, INT_MAX, NULL, &fade_out_index, | 1020 | crossfade_mix_fade(0, pcmbuf_size, NULL, &fade_out_index, |
1021 | 0, MIXFADE_NULLIFY_POS); | 1021 | 0, MIXFADE_NULLIFY_POS); |
1022 | 1022 | ||
1023 | pcm_play_lock(); | 1023 | pcm_play_lock(); |