celt_encoder_ctl() is a bit more type-safe.
[opus.git] / libcelt / modes.c
index dff7ce6..292990f 100644 (file)
@@ -69,7 +69,7 @@ int celt_mode_info(const CELTMode *mode, int request, celt_int32_t *value)
          *value = CELT_BITSTREAM_VERSION;
          break;
       default:
-         return CELT_BAD_REQUEST;
+         return CELT_UNIMPLEMENTED;
    }
    return CELT_OK;
 }