diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2003-08-16 20:15:55 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2003-08-16 20:15:55 +0000 |
commit | aeb098de85e5d66398bcfda6ef648bb07584af07 (patch) | |
tree | ab7dace3bb0bfe966b3019e55d48f5f817114e08 | |
parent | 72d5e52ff9635d29c49fe67d7d0153e9aa6885fc (diff) | |
download | xine-lib-aeb098de85e5d66398bcfda6ef648bb07584af07.tar.gz xine-lib-aeb098de85e5d66398bcfda6ef648bb07584af07.tar.bz2 |
Fix bug in playing A52 .wav files via SPDIF passthrough.
The demuxer was zeroing 8 bytes of every frame output.
This seemed not to matter for software decode, so maybe the
liba52 is not doing CRC checks as it should.
CVS patchset: 5295
CVS date: 2003/08/16 20:15:55
-rw-r--r-- | src/demuxers/demux_wav.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/demuxers/demux_wav.c b/src/demuxers/demux_wav.c index 75fbdb18a..34fc85d90 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.44 2003/07/16 00:52:45 andruil Exp $ + * $Id: demux_wav.c,v 1.45 2003/08/16 20:15:55 jcdutton Exp $ */ #ifdef HAVE_CONFIG_H @@ -229,10 +229,8 @@ static int demux_wav_send_chunk(demux_plugin_t *this_gen) { buf->content[2] == 0x1f && buf->content[3] == 0x4e ) { this->audio_type = BUF_AUDIO_DNET; - buf->content+=8; } } else if (this->audio_type == BUF_AUDIO_DNET) { - buf->content+=8; buf->pts=0; /* We don't need pts values for only audio streams. */ } #if 0 |