diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-13 23:55:10 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-13 23:55:10 +0200 |
commit | e826a74b22188c8c22b77a73c0fa191a5b97f2af (patch) | |
tree | 428c5f1462827b0c1af502d20c8be08b6a156e4b | |
parent | 753fbd6127fd4457e777b61799003b9ebbc4b558 (diff) | |
download | xine-lib-e826a74b22188c8c22b77a73c0fa191a5b97f2af.tar.gz xine-lib-e826a74b22188c8c22b77a73c0fa191a5b97f2af.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); |