changeset 4271:90282d9e4bec

fix after merge...
author Eugene Zagidullin <e.asphyx@gmail.com>
date Sun, 10 Feb 2008 16:13:30 +0300
parents a3d30a174720
children 32bb5ea701ed 3e0a2cce15f6
files src/audacious/output.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/output.c	Sun Feb 10 16:03:55 2008 +0300
+++ b/src/audacious/output.c	Sun Feb 10 16:13:30 2008 +0300
@@ -498,6 +498,8 @@
     OutputPlugin *op = playback->output;
     gint writeoffs;
     gpointer float_ptr;
+
+    if(length <= 0 || sad_state_from_float == NULL || sad_state_to_float == NULL) return;
     
     plugin_set_current((Plugin *)(playback->output));
     gint time = playback->output->written_time();