diff options
author | Joachim Koenig <joachim_koenig@users.sourceforge.net> | 2001-08-20 11:17:20 +0000 |
---|---|---|
committer | Joachim Koenig <joachim_koenig@users.sourceforge.net> | 2001-08-20 11:17:20 +0000 |
commit | 26a8582144e8231dcec11c16e18b9789be39ccff (patch) | |
tree | 8c3b082805aa16efe5f30f591b4338f30b80a3cd | |
parent | 99abcd5612a793eb095bc95ecf61ca2d2a34ad78 (diff) | |
download | xine-lib-26a8582144e8231dcec11c16e18b9789be39ccff.tar.gz xine-lib-26a8582144e8231dcec11c16e18b9789be39ccff.tar.bz2 |
AC3 handling changed
CVS patchset: 455
CVS date: 2001/08/20 11:17:20
-rw-r--r-- | src/demuxers/demux_pes.c | 9 |
1 files 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; |