diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2005-05-28 09:34:53 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2005-05-28 09:34:53 +0000 |
commit | a005324bfbc219240853af006f369aabee6a7d53 (patch) | |
tree | 1b633af120477f19640da236ac7c60d1ad17c449 /src | |
parent | 5191576e1def9385daf51b806a627c1d359da5ad (diff) | |
download | xine-lib-a005324bfbc219240853af006f369aabee6a7d53.tar.gz xine-lib-a005324bfbc219240853af006f369aabee6a7d53.tar.bz2 |
DTS demuxer should now handle DTS with fake wav header on the front
CVS patchset: 7576
CVS date: 2005/05/28 09:34:53
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_wav.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/demuxers/demux_wav.c b/src/demuxers/demux_wav.c index eaa4fb9d8..48074aa3c 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.61 2005/05/18 09:02:26 hadess Exp $ + * $Id: demux_wav.c,v 1.62 2005/05/28 09:34:53 jstembridge Exp $ */ #ifdef HAVE_CONFIG_H @@ -160,14 +160,6 @@ static int open_wav_file(demux_wav_t *this) { chunk_preamble[3] == 0x4e ) { this->audio_type = BUF_AUDIO_DNET; } - if (chunk_preamble[0] == 0xff && - chunk_preamble[1] == 0x1f && - chunk_preamble[2] == 0x00 && - chunk_preamble[3] == 0xe8 && - chunk_preamble[4] == 0xf1 && /* DTS standard document was wrong here! */ - chunk_preamble[5] == 0x07 ) { /* DTS standard document was wrong here! */ - this->audio_type = BUF_AUDIO_DTS; /* DTS but in 14bit format. */ - } #if 0 printf("Preamble=%02x %02x %02x %02x %02x %02x\n", chunk_preamble[0], |