summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/demuxers/demux_voc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demuxers/demux_voc.c b/src/demuxers/demux_voc.c
index 47765dd80..9af20a0ca 100644
--- a/src/demuxers/demux_voc.c
+++ b/src/demuxers/demux_voc.c
@@ -23,7 +23,7 @@
* It will only play that block if it is PCM data. More variations will be
* supported as they are encountered.
*
- * $Id: demux_voc.c,v 1.25 2003/01/17 16:52:38 miguelfreitas Exp $
+ * $Id: demux_voc.c,v 1.26 2003/01/17 16:54:47 miguelfreitas Exp $
*
*/
@@ -180,9 +180,10 @@ static int demux_voc_send_chunk(demux_plugin_t *this_gen) {
while (remaining_sample_bytes) {
/* abort if no audio fifo */
- if(!this->audio_fifo)
+ if(!this->audio_fifo) {
this->status = DEMUX_FINISHED;
break;
+ }
buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo);
buf->type = this->audio_type;