projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff7b92
)
examples/utils.c: avoid segfault when compiling without sndfile
author
Paul Brossier
<piem@piem.org>
Mon, 9 Jul 2012 22:35:35 +0000
(15:35 -0700)
committer
Paul Brossier
<piem@piem.org>
Mon, 9 Jul 2012 22:35:35 +0000
(15:35 -0700)
examples/utils.c
patch
|
blob
|
history
diff --git
a/examples/utils.c
b/examples/utils.c
index c891b159d2adff3ce0e16884c79e08e50e855cac..83f2acd711b179186e35fdfc1bee1e5e1adf7e3b 100644
(file)
--- a/
examples/utils.c
+++ b/
examples/utils.c
@@
-280,10
+280,11
@@
examples_common_init (int argc, char **argv)
void
examples_common_del (void)
{
- uint_t i;
+#if HAVE_SNDFILE
del_fvec (ibuf);
del_fvec (obuf);
del_fvec (woodblock);
+#endif
aubio_cleanup ();
}