diff options
author | Thom Johansen <thomj@rockbox.org> | 2006-08-31 18:18:57 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2006-08-31 18:18:57 +0000 |
commit | 20332bce1d49d7285109564d2e29ee18b0acd54e (patch) | |
tree | 9e423a673c6f7e03816a0f0ca785ef3915405b44 /apps/codecs/libmusepack/internal.h | |
parent | 6af8603d9a8894e644f0b9508f2142c2b56d09a3 (diff) |
FS patch #5172 by Andrew Cupper. Musepack seeking support. Decoder should also be faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10827 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/internal.h')
-rw-r--r-- | apps/codecs/libmusepack/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/internal.h b/apps/codecs/libmusepack/internal.h index 44279e2fa5..45f2b41eea 100644 --- a/apps/codecs/libmusepack/internal.h +++ b/apps/codecs/libmusepack/internal.h @@ -54,6 +54,10 @@ mpc_uint32_t mpc_swap32(mpc_uint32_t val) { } #endif +#ifndef min +#define min(a, b) (((a) < (b)) ? (a) : (b)) +#endif + /// Searches for a ID3v2-tag and reads the length (in bytes) of it. /// \param reader supplying raw stream data /// \return size of tag, in bytes |