From f5f67342a1ae77c6505ecbaab69c523720b440d0 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 17 Jun 2001 00:23:34 +0000 Subject: small bugfix for no audio CVS patchset: 195 CVS date: 2001/06/17 00:23:34 --- src/demuxers/demux_mpeg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/demuxers/demux_mpeg.c') diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c index b80c8f7ca..30610e5da 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.19 2001/06/16 18:03:22 guenter Exp $ + * $Id: demux_mpeg.c,v 1.20 2001/06/17 00:23:34 guenter Exp $ * * demultiplexer for mpeg 1/2 program streams * reads streams of variable blocksizes @@ -557,7 +557,8 @@ static void demux_mpeg_stop (demux_plugin_t *this_gen) { pthread_join (this->thread, &p); this->video_fifo->clear(this->video_fifo); - this->audio_fifo->clear(this->audio_fifo); + if(this->audio_fifo) + this->audio_fifo->clear(this->audio_fifo); buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); buf->type = BUF_CONTROL_END; -- cgit v1.2.3