Unverified Commit 200d12d2 authored by Mark Harris's avatar Mark Harris Committed by Jean-Marc Valin

Another fix for ope_strerror

Signed-off-by: Jean-Marc Valin's avatarJean-Marc Valin <jmvalin@jmvalin.ca>
parent 64abd615
......@@ -1035,12 +1035,12 @@ int ope_encoder_ctl(OggOpusEnc *enc, int request, ...) {
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";
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