Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2014-09-04 09:48:46 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2014-09-04 09:48:46 +0400
commite1326fe6c8a246aa0b98074040542e3b8ca14c53 (patch)
tree9580cd5ffda8dfdb1d10dacc253af694b4537c13 /include
parent370286cd4aa9c6c9d41690bbb303974321bf81c6 (diff)
Lowered the smallest packet that the multi-stream encoder can encode
Limit now at 2*streams-1 and anything below that returns OPUS_BUFFER_TOO_SMALL rather than OPUS_BAD_ARG
Diffstat (limited to 'include')
-rw-r--r--include/opus_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h
index 84df7c7a..32b7c976 100644
--- a/include/opus_defines.h
+++ b/include/opus_defines.h
@@ -46,7 +46,7 @@ extern "C" {
#define OPUS_OK 0
/** One or more invalid/out of range arguments @hideinitializer*/
#define OPUS_BAD_ARG -1
-/** The mode struct passed is invalid @hideinitializer*/
+/** Not enough bytes allocated in the buffer @hideinitializer*/
#define OPUS_BUFFER_TOO_SMALL -2
/** An internal error was detected @hideinitializer*/
#define OPUS_INTERNAL_ERROR -3