summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-09-17 23:57:15 +0000
committerMike Melanson <mike@multimedia.cx>2003-09-17 23:57:15 +0000
commit02c325dc9e6584c71fb67449aeb505373141724a (patch)
tree8650d310f55d0d7cc2ad7002537eb4e65454b41c
parent3bd39a648f86800740e3a3190db1684e51534fbf (diff)
downloadxine-lib-02c325dc9e6584c71fb67449aeb505373141724a.tar.gz
xine-lib-02c325dc9e6584c71fb67449aeb505373141724a.tar.bz2
remove else block that breaks on any compressed file
CVS patchset: 5401 CVS date: 2003/09/17 23:57:15
-rw-r--r--src/demuxers/demux_wav.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/demuxers/demux_wav.c b/src/demuxers/demux_wav.c
index f8370412f..0315ba640 100644
--- a/src/demuxers/demux_wav.c
+++ b/src/demuxers/demux_wav.c
@@ -22,7 +22,7 @@
* MS WAV File Demuxer by Mike Melanson (melanson@pcisys.net)
* based on WAV specs that are available far and wide
*
- * $Id: demux_wav.c,v 1.47 2003/09/01 13:19:28 jcdutton Exp $
+ * $Id: demux_wav.c,v 1.48 2003/09/17 23:57:15 tmmm Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -414,10 +414,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
align = PCM_BLOCK_ALIGN / this->wave->nBlockAlign;
align = align * this->wave->nBlockAlign;
this->wave->nBlockAlign = align;
- } else {
- printf("demux_wav: WAV header inconsistent, cannot play WAV file.\n");
- free (this);
- return NULL;
}
return &this->demux_plugin;