From ee7b1268c7069d14e1eb12c826179e9c9072139a Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Thu, 14 Jun 2001 10:48:24 +0000 Subject: more fixes CVS patchset: 177 CVS date: 2001/06/14 10:48:24 --- src/demuxers/demux_mpeg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/demuxers') 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; -- cgit v1.2.3