From aeb098de85e5d66398bcfda6ef648bb07584af07 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Sat, 16 Aug 2003 20:15:55 +0000 Subject: 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 --- src/demuxers/demux_wav.c | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3