aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--TODO1
-rw-r--r--src/mp3_decode.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/TODO b/TODO
index fada5bd29..8b4f5f63e 100644
--- a/TODO
+++ b/TODO
@@ -5,6 +5,7 @@
process!
b) pass decoderControl to inputStream, so that if we are doing blocking
stuff, its easy to halt it and return
+ c) for mp3, remember to turn off IGNORECRC for mp3 streams
2) streaming and playing in general
a) determine a clever interface to play, so that play doesn't block
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);