shithub: libopusenc

Download patch

ref: 013b23664949ca50330b3159df9fb4122f9d0519
parent: 200d12d206b3914bf70a62cf3a6d3e008389cf02
author: Mark Harris <mark.hsj@gmail.com>
date: Sat Feb 10 13:29:49 EST 2018

Return OPE_UNIMPLEMENTED on unrecognized ctl

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>

--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -1019,7 +1019,7 @@
     }
     break;
     default:
-      ret = OPE_UNIMPLEMENTED;
+      ret = OPUS_UNIMPLEMENTED;
   }
   va_end(ap);
   translate = ret != 0 && (request < 14000 || (ret < 0 && ret >= -10));