summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-17 16:54:47 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-17 16:54:47 +0000
commit75d951e98bb13b86b6093cbd57fa3bfc308ea171 (patch)
tree46d56b689b09dd019b3b7dd8ce3c000c918d2b3c
parent91699d8ebd2bf2ec7f44622e7e090d720c20bcb3 (diff)
downloadxine-lib-75d951e98bb13b86b6093cbd57fa3bfc308ea171.tar.gz
xine-lib-75d951e98bb13b86b6093cbd57fa3bfc308ea171.tar.bz2
forgoten {}
CVS patchset: 3944 CVS date: 2003/01/17 16:54:47
-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;