diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 13:19:30 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 13:19:30 +0000 |
commit | 3a5a75cf87c5b952a946224a37cf9c1c6ba45d7f (patch) | |
tree | 318cb5be633d595c2235a45948b468b8a82a8a33 /src/decode.h | |
parent | c51ad71efaa975c64f6ad31dce5578307a5cba7b (diff) | |
download | mpd-3a5a75cf87c5b952a946224a37cf9c1c6ba45d7f.tar.gz mpd-3a5a75cf87c5b952a946224a37cf9c1c6ba45d7f.tar.xz mpd-3a5a75cf87c5b952a946224a37cf9c1c6ba45d7f.zip |
fix a mem leak when unknow type in decodeStart()
git-svn-id: https://svn.musicpd.org/mpd/trunk@1063 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.h')
-rw-r--r-- | src/decode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decode.h b/src/decode.h index a766efd44..c21407b48 100644 --- a/src/decode.h +++ b/src/decode.h @@ -34,8 +34,8 @@ #define DECODE_STATE_DECODE 1 #define DECODE_ERROR_NOERROR 0 -#define DECODE_ERROR_UNKTYPE -10 -#define DECODE_ERROR_FILE -20 +#define DECODE_ERROR_UNKTYPE 10 +#define DECODE_ERROR_FILE 20 #define DECODE_SUFFIX_MP3 1 #define DECODE_SUFFIX_OGG 2 |