ref: 74f36b56dd8ad176fecd3344fd27ed9a99a44221
parent: 51f4a32ec2b62fd7c53e7b901fefd38ff95e7cc2
author: Jean-Marc Valin <[email protected]>
date: Wed Feb 20 17:31:49 EST 2013
oops s/IMAX/IMIN/
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -773,7 +773,7 @@
else if (variable_duration == OPUS_FRAMESIZE_VARIABLE)
new_size = Fs/50;
else if (variable_duration >= OPUS_FRAMESIZE_2_5_MS && variable_duration <= OPUS_FRAMESIZE_60_MS)
- new_size = IMAX(3*Fs/50, (Fs/400)<<(variable_duration-OPUS_FRAMESIZE_2_5_MS));
+ new_size = IMIN(3*Fs/50, (Fs/400)<<(variable_duration-OPUS_FRAMESIZE_2_5_MS));
else
return -1;
if (new_size>frame_size)