diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-13 23:52:56 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-13 23:52:56 +0200 |
commit | d233e02bd50feaf8517d7ac2d99fb502b4c7a12d (patch) | |
tree | 9ecc9f3e804c8f86e6477891763fa60cbf0d2519 | |
parent | b630019adb06380b2d42880f6dac327ca7715cd1 (diff) | |
download | xine-lib-d233e02bd50feaf8517d7ac2d99fb502b4c7a12d.tar.gz xine-lib-d233e02bd50feaf8517d7ac2d99fb502b4c7a12d.tar.bz2 |
Use the stream's audio_fifo as it hasn't been reported on the demuxer's instance yet.
-rw-r--r-- | src/demuxers/demux_ac3.c | 2 | ||||
-rw-r--r-- | src/demuxers/demux_dts.c | 4 |
2 files changed, 3 insertions, 3 deletions
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); |