shithub: libopusenc

Download patch

ref: b7a5542b5ded8a688e7ef6d77a235870b008fbf7
parent: 6c2a863b7d0fa80f516df637d7f191664ed47b8f
author: Jean-Marc Valin <[email protected]>
date: Thu Feb 8 12:54:15 EST 2018

update ope_strerror()

--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -1038,9 +1038,10 @@
   static const char * const ope_error_strings[5] = {
     "cannot open file",
     "call cannot be made at this point",
-    "unrecoverable error",
     "invalid picture file",
     "invalid icon file (pictures of type 1 MUST be 32x32 PNGs)"
+    "write failed"
+    "close failed"
   };
   if (error == 0) return "success";
   else if (error >= -10) return "unknown error";