summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpgaudio.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-17 00:23:34 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-17 00:23:34 +0000
commitf5f67342a1ae77c6505ecbaab69c523720b440d0 (patch)
tree97d8346e489583ee8ebb96b50ddb9473dbb510b5 /src/demuxers/demux_mpgaudio.c
parenteff542e585bd6f47503ba635b431d73b82299547 (diff)
downloadxine-lib-f5f67342a1ae77c6505ecbaab69c523720b440d0.tar.gz
xine-lib-f5f67342a1ae77c6505ecbaab69c523720b440d0.tar.bz2
small bugfix for no audio
CVS patchset: 195 CVS date: 2001/06/17 00:23:34
Diffstat (limited to 'src/demuxers/demux_mpgaudio.c')
-rw-r--r--src/demuxers/demux_mpgaudio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c
index 550ffee7d..bb0a329f5 100644
--- a/src/demuxers/demux_mpgaudio.c
+++ b/src/demuxers/demux_mpgaudio.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_mpgaudio.c,v 1.12 2001/06/16 18:03:22 guenter Exp $
+ * $Id: demux_mpgaudio.c,v 1.13 2001/06/17 00:23:34 guenter Exp $
*
* demultiplexer for mpeg audio (i.e. mp3) streams
*
@@ -149,7 +149,8 @@ static void demux_mpgaudio_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;