Unverified Commit 5545fbe0 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

limit decision_delay to MAX_LOOKAHEAD

parent 10901ea2
......@@ -816,6 +816,7 @@ int ope_encoder_ctl(OggOpusEnc *enc, int request, ...) {
ret = OPE_BAD_ARG;
break;
}
value = MIN(value, MAX_LOOKAHEAD);
enc->decision_delay = value;
}
break;
......
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