Unverified Commit 013b2366 authored by Mark Harris's avatar Mark Harris Committed by Jean-Marc Valin

Return OPE_UNIMPLEMENTED on unrecognized ctl

Signed-off-by: Jean-Marc Valin's avatarJean-Marc Valin <jmvalin@jmvalin.ca>
parent 200d12d2
......@@ -1019,7 +1019,7 @@ int ope_encoder_ctl(OggOpusEnc *enc, int request, ...) {
}
break;
default:
ret = OPE_UNIMPLEMENTED;
ret = OPUS_UNIMPLEMENTED;
}
va_end(ap);
translate = ret != 0 && (request < 14000 || (ret < 0 && ret >= -10));
......
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