diff options
author | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-02-27 02:38:55 +0400 |
---|---|---|
committer | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-02-27 02:38:55 +0400 |
commit | a832a8fec41999defc619ccdbc2bc164f6a6363c (patch) | |
tree | 42d74d9384038391e4dc671106cf0a3b37dbeee4 | |
parent | 9a38bc087ac71e3e2c8af862fd0dbbb829746b02 (diff) |
allow anti_aliasing_pc to be > 100
-rw-r--r-- | src/rate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -412,7 +412,8 @@ static char const * rate_init( assert(!bits || (15 <= bits && bits <= 33)); assert(0 <= phase && phase <= 100); assert(53 <= bw_pc && bw_pc <= 100); - assert(85 <= anti_aliasing_pc && anti_aliasing_pc <= 100); + assert(85 <= anti_aliasing_pc && anti_aliasing_pc <= 130); + assert(bw_pc < 200 - anti_aliasing_pc); p->factor = factor; if (bits) while (!n++) { /* Determine stages: */ |