projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4daa7ec
)
src/spectral/dct_ipp.c: allow size 1
author
Paul Brossier
<piem@piem.org>
Sun, 12 Aug 2018 20:36:37 +0000
(22:36 +0200)
committer
Paul Brossier
<piem@piem.org>
Sun, 12 Aug 2018 20:36:37 +0000
(22:36 +0200)
src/spectral/dct_ipp.c
patch
|
blob
|
history
diff --git
a/src/spectral/dct_ipp.c
b/src/spectral/dct_ipp.c
index
7688d56
..
273aa00
100644
(file)
--- a/
src/spectral/dct_ipp.c
+++ b/
src/spectral/dct_ipp.c
@@
-67,8
+67,8
@@
aubio_dct_ipp_t * new_aubio_dct_ipp (uint_t size) {
int pSpecSize, pSpecBufferSize, pBufferSize;
IppStatus status;
int pSpecSize, pSpecBufferSize, pBufferSize;
IppStatus status;
- if ((sint_t)size <=
1
) {
- AUBIO_ERR("dct: can only create with sizes greater than
1
, requested %d\n",
+ if ((sint_t)size <=
0
) {
+ AUBIO_ERR("dct: can only create with sizes greater than
0
, requested %d\n",
size);
goto beach;
}
size);
goto beach;
}