ref: 64abd615208cab1a16999d395c9870589eb70b2a
parent: b7a5542b5ded8a688e7ef6d77a235870b008fbf7
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Thu Feb 8 15:17:16 EST 2018
oops
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -1046,7 +1046,7 @@
if (error == 0) return "success";
else if (error >= -10) return "unknown error";
else if (error > -30) return opus_strerror(error+10);
- else if (error >= OPE_INVALID_ICON) return ope_error_strings[-error-30];
+ else if (error >= OPE_CLOSE_FAIL) return ope_error_strings[-error-30];
else return "unknown error";
}