diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-25 19:31:51 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-25 19:31:51 +0000 |
commit | 90c75b1107605d6fb075a5bd0388052d693dd3bc (patch) | |
tree | a02b40749cb35ff17ee6428d510e76efee32a0e0 /src/decode.c | |
parent | 2a76d4c8cf1b17799fe8103640ef3d46caf189a3 (diff) | |
download | mpd-90c75b1107605d6fb075a5bd0388052d693dd3bc.tar.gz mpd-90c75b1107605d6fb075a5bd0388052d693dd3bc.tar.xz mpd-90c75b1107605d6fb075a5bd0388052d693dd3bc.zip |
ingore mp3 CRC's for files and not streams
git-svn-id: https://svn.musicpd.org/mpd/trunk@1161 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decode.c b/src/decode.c index 86f0fc69b..7582c4e93 100644 --- a/src/decode.c +++ b/src/decode.c @@ -291,7 +291,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) { /*if(fileSuffix == DECODE_SUFFIX_MP3 || (inStream.mime && 0 == strcmp(inStream.mime, "audio/mpeg")))*/ { - ret = mp3_decode(cb,dc,&inStream); + ret = mp3_decode(cb, dc, &inStream, 0); break; } ret = DECODE_ERROR_UNKTYPE; @@ -299,7 +299,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) { case DECODE_TYPE_FILE: #ifdef HAVE_MAD if(suffix == DECODE_SUFFIX_MP3) { - ret = mp3_decode(cb, dc, &inStream); + ret = mp3_decode(cb, dc, &inStream, 1); break; } #endif |