Commit 00cdf1cf authored by michael's avatar michael

assert() and note about odd len.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11884 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4526ea8c
......@@ -593,6 +593,9 @@ static void apply_welch_window(const int32_t *data, int len, double *w_data)
double w;
double c;
assert(!(len&1)); //the optimization in r11881 does not support odd len
//if someone wants odd len extend the change in r11881
n2 = (len >> 1);
c = 2.0 / (len - 1.0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment