aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-03-21 03:28:52 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-03-21 03:28:52 +0000
commit72f0fc9953dbb6ae76204b329f8adf0029565ff7 (patch)
treed913336d645542a62048657ddfecf1322f4e2b1a /externals/grill/flext/source
parente22ac83603a53bbae3e5f0c9739a1915022fb3af (diff)
""
svn path=/trunk/; revision=1461
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r--externals/grill/flext/source/flbuf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp
index 46eb7f4f..6d2f651d 100644
--- a/externals/grill/flext/source/flbuf.cpp
+++ b/externals/grill/flext/source/flbuf.cpp
@@ -133,7 +133,7 @@ bool flext::buffer::Valid() const
#if FLEXT_SYS == FLEXT_SYS_PD
int frames1;
t_sample *data1;
- return garray_getfloatarray(arr, &frames1, &data1) != 0;
+ return arr && garray_getfloatarray(arr, &frames1, &data1) != 0;
#elif FLEXT_SYS == FLEXT_SYS_MAX
const _buffer *p = (const _buffer *)sym->s_thing;
return p && p->b_valid;