summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpeg.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-14 10:48:24 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-14 10:48:24 +0000
commitee7b1268c7069d14e1eb12c826179e9c9072139a (patch)
tree916918962e6967153c0a74513c4e39c696a3b2af /src/demuxers/demux_mpeg.c
parent18b58faa961cb45344c0d00a753c2d65e2ce8a98 (diff)
downloadxine-lib-ee7b1268c7069d14e1eb12c826179e9c9072139a.tar.gz
xine-lib-ee7b1268c7069d14e1eb12c826179e9c9072139a.tar.bz2
more fixes
CVS patchset: 177 CVS date: 2001/06/14 10:48:24
Diffstat (limited to 'src/demuxers/demux_mpeg.c')
-rw-r--r--src/demuxers/demux_mpeg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index d6bafa761..ebda3f6d7 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.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_mpeg.c,v 1.16 2001/06/11 03:14:29 heikos Exp $
+ * $Id: demux_mpeg.c,v 1.17 2001/06/14 10:48:24 guenter Exp $
*
* demultiplexer for mpeg 1/2 program streams
* reads streams of variable blocksizes
@@ -152,6 +152,10 @@ static void parse_mpeg2_packet (demux_mpeg_t *this, int nID) {
if(this->audio_fifo)
buf = this->input->read_block (this->input, this->audio_fifo, nLen-4);
+ else {
+ buf = this->input->read (this->input, this->dummy_space, nLen);
+ return;
+ }
if (buf == NULL) {
this->status = DEMUX_FINISHED;