diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-03-21 03:28:52 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-03-21 03:28:52 +0000 |
commit | 72f0fc9953dbb6ae76204b329f8adf0029565ff7 (patch) | |
tree | d913336d645542a62048657ddfecf1322f4e2b1a /externals | |
parent | e22ac83603a53bbae3e5f0c9739a1915022fb3af (diff) |
""
svn path=/trunk/; revision=1461
Diffstat (limited to 'externals')
-rw-r--r-- | externals/grill/flext/changes.txt | 1 | ||||
-rw-r--r-- | externals/grill/flext/source/flbuf.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/externals/grill/flext/changes.txt b/externals/grill/flext/changes.txt index 791b1025..f5964072 100644 --- a/externals/grill/flext/changes.txt +++ b/externals/grill/flext/changes.txt @@ -22,6 +22,7 @@ Version history: - uniform STL container for all kinds of attribute, method, class handling - support for MinGW - added flext_obj::CanvasArgs +- fixed small problem with buffer->Valid() on startup 0.4.5: - added some more SIMD functions 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; |