diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2004-01-12 03:58:47 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2004-01-12 03:58:47 +0000 |
commit | 7a7226c971c5933dafb6f4646a0d3d21bf4c942b (patch) | |
tree | 209df4f57d7a6c58374a0e63a16e83ae4bbb4be4 | |
parent | a30a2ef07f5e0d05ffc0d81f044b686234d0a3da (diff) | |
download | xine-lib-7a7226c971c5933dafb6f4646a0d3d21bf4c942b.tar.gz xine-lib-7a7226c971c5933dafb6f4646a0d3d21bf4c942b.tar.bz2 |
- ignore CRC errors when decoding MP3s, so that Bastien can listen to his broken files
CVS patchset: 6029
CVS date: 2004/01/12 03:58:47
-rw-r--r-- | src/libmad/xine_decoder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libmad/xine_decoder.c b/src/libmad/xine_decoder.c index 2b62d5623..ae08b4ac4 100644 --- a/src/libmad/xine_decoder.c +++ b/src/libmad/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.48 2003/12/14 22:13:23 siggi Exp $ + * $Id: xine_decoder.c,v 1.49 2004/01/12 03:58:47 hadess Exp $ * * stuff needed to turn libmad into a xine decoder plugin */ @@ -79,6 +79,7 @@ static void mad_reset (audio_decoder_t *this_gen) { mad_synth_init (&this->synth); mad_stream_init (&this->stream); + this->stream.options = MAD_OPTION_IGNORECRC; mad_frame_init (&this->frame); } @@ -316,6 +317,8 @@ static audio_decoder_t *open_plugin (audio_decoder_class_t *class_gen, xine_stre mad_stream_init (&this->stream); mad_frame_init (&this->frame); + this->stream.options = MAD_OPTION_IGNORECRC; + lprintf ("init\n"); return &this->audio_decoder; |