ref: 5545fbe0a0152a0e12e63626350ed4fc815fe5a1
parent: 10901ea2d7ab7a73290c1ca119adfe10a5af2422
author: Jean-Marc Valin <[email protected]>
date: Fri Jun 23 17:14:30 EDT 2017
limit decision_delay to MAX_LOOKAHEAD
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -816,6 +816,7 @@
ret = OPE_BAD_ARG;
break;
}
+ value = MIN(value, MAX_LOOKAHEAD);
enc->decision_delay = value;
}
break;