ref: 200d12d206b3914bf70a62cf3a6d3e008389cf02
parent: 64abd615208cab1a16999d395c9870589eb70b2a
author: Mark Harris <mark.hsj@gmail.com>
date: Sat Feb 10 13:27:46 EST 2018
Another fix for ope_strerror Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -1035,12 +1035,12 @@
}
const char *ope_strerror(int error) {
- static const char * const ope_error_strings[5] = {
+ static const char * const ope_error_strings[] = {
"cannot open file",
"call cannot be made at this point",
"invalid picture file",
- "invalid icon file (pictures of type 1 MUST be 32x32 PNGs)"
- "write failed"
+ "invalid icon file (pictures of type 1 MUST be 32x32 PNGs)",
+ "write failed",
"close failed"
};
if (error == 0) return "success";