aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-17 19:47:21 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-17 19:47:21 +0000
commitee79a3a8fdd119444ff76d993678a56ed635df2b (patch)
tree7e23d551171f7ba68a4be7a9b50f3c5b0d21178d /src
parent0db46f05923f4dec3a2986b0fb01953429e3326d (diff)
downloadmpd-ee79a3a8fdd119444ff76d993678a56ed635df2b.tar.gz
mpd-ee79a3a8fdd119444ff76d993678a56ed635df2b.tar.xz
mpd-ee79a3a8fdd119444ff76d993678a56ed635df2b.zip
ignore crc stuff for mp3's cause some mp3's have foobar'd CRC's
git-svn-id: https://svn.musicpd.org/mpd/trunk@1039 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/mp3_decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index 1b83f6eed..9e19dbbda 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -154,6 +154,7 @@ int initMp3DecodeData(mp3DecodeData * data, char * file) {
data->flush = 1;
mad_stream_init(&data->stream);
+ data->stream.options |= MAD_OPTION_IGNORECRC;
mad_frame_init(&data->frame);
mad_synth_init(&data->synth);
mad_timer_reset(&data->timer);