diff options
author | Thomas Viehmann <tv@beamnet.de> | 2008-12-26 17:54:21 +0000 |
---|---|---|
committer | Thomas Viehmann <tv@beamnet.de> | 2008-12-26 17:54:21 +0000 |
commit | 676effa5043dcfa6537c06c28c2ad3b655e42535 (patch) | |
tree | 1dc1e3cf2063489cf7066cb028495262e91a7a28 | |
parent | f40e4009259a1f4ef827af483c1c6927f1b78121 (diff) | |
download | xine-lib-676effa5043dcfa6537c06c28c2ad3b655e42535.tar.gz xine-lib-676effa5043dcfa6537c06c28c2ad3b655e42535.tar.bz2 |
Don't store immediately-discarded input read() results
-rw-r--r-- | src/demuxers/demux_mpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c index 388be2140..fa167c70e 100644 --- a/src/demuxers/demux_mpeg.c +++ b/src/demuxers/demux_mpeg.c @@ -330,7 +330,7 @@ static void parse_mpeg2_packet (demux_mpeg_t *this, int stream_id, int64_t scr) if((this->dummy_space[0] & 0xf0) == 0x80) { /* read rest of header - AC3 */ - i = this->input->read (this->input, this->dummy_space+1, 3); + this->input->read (this->input, this->dummy_space+1, 3); /* contents */ for (i = len - 4; i > 0; i -= (this->audio_fifo) @@ -431,7 +431,7 @@ static void parse_mpeg2_packet (demux_mpeg_t *this, int stream_id, int64_t scr) header_len -= 5 ; } - i = this->input->read (this->input, this->dummy_space, header_len); + this->input->read (this->input, this->dummy_space, header_len); for (i = len; i > 0; i -= (this->audio_fifo) ? this->audio_fifo->buffer_pool_buf_size : this->video_fifo->buffer_pool_buf_size) { @@ -503,7 +503,7 @@ static void parse_mpeg2_packet (demux_mpeg_t *this, int stream_id, int64_t scr) } /* read rest of header */ - i = this->input->read (this->input, this->dummy_space, header_len); + this->input->read (this->input, this->dummy_space, header_len); /* contents */ |