From d233e02bd50feaf8517d7ac2d99fb502b4c7a12d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 13 Apr 2007 23:52:56 +0200 Subject: Use the stream's audio_fifo as it hasn't been reported on the demuxer's instance yet. --- src/demuxers/demux_ac3.c | 2 +- src/demuxers/demux_dts.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_ac3.c b/src/demuxers/demux_ac3.c index 7f3dadeb7..73313ee12 100644 --- a/src/demuxers/demux_ac3.c +++ b/src/demuxers/demux_ac3.c @@ -138,7 +138,7 @@ static int open_ac3_file(demux_ac3_t *this) { if (blocksize) { this->input->seek(this->input, 0, SEEK_SET); buf_element_t *buf = this->input->read_block(this->input, - this->audio_fifo, + this->stream->audio_fifo, blocksize); this->input->seek(this->input, 0, SEEK_SET); diff --git a/src/demuxers/demux_dts.c b/src/demuxers/demux_dts.c index 7baeae377..a5beba7dd 100644 --- a/src/demuxers/demux_dts.c +++ b/src/demuxers/demux_dts.c @@ -86,9 +86,9 @@ static int open_dts_file(demux_dts_t *this) { blocksize = this->input->get_blocksize(this->input); if (blocksize) { - this->input->seek(this->input, 0, SEEK_SET); + // this->input->seek(this->input, 0, SEEK_SET); buf_element_t *buf = this->input->read_block(this->input, - this->audio_fifo, + this->stream->audio_fifo, blocksize); this->input->seek(this->input, 0, SEEK_SET); -- cgit v1.2.3