From 26a8582144e8231dcec11c16e18b9789be39ccff Mon Sep 17 00:00:00 2001 From: Joachim Koenig Date: Mon, 20 Aug 2001 11:17:20 +0000 Subject: AC3 handling changed CVS patchset: 455 CVS date: 2001/08/20 11:17:20 --- src/demuxers/demux_pes.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/demuxers/demux_pes.c b/src/demuxers/demux_pes.c index c67e15442..48dcad246 100644 --- a/src/demuxers/demux_pes.c +++ b/src/demuxers/demux_pes.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: demux_pes.c,v 1.3 2001/08/12 15:12:54 guenter Exp $ + * $Id: demux_pes.c,v 1.4 2001/08/20 11:17:20 joachim_koenig Exp $ * * demultiplexer for mpeg 2 PES (Packetized Elementary Streams) * reads streams of variable blocksizes @@ -145,16 +145,17 @@ static void parse_mpeg2_packet (demux_mpeg_t *this, int nID) { } /* read rest of header */ - i = this->input->read (this->input, this->dummy_space, header_len+4); +// i = this->input->read (this->input, this->dummy_space, header_len+4); - track = this->dummy_space[0] & 0x0F ; +// track = this->dummy_space[0] & 0x0F ; + track = 0; xprintf (VERBOSE|DEMUX, ", track=%02x", track); /* contents */ if(this->audio_fifo) - buf = this->input->read_block (this->input, this->audio_fifo, nLen-4); + buf = this->input->read_block (this->input, this->audio_fifo, nLen); else { this->input->read (this->input, this->dummy_space, nLen); return; -- cgit v1.2.3