summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Asteborg <maastebo@microsoft.com>2022-07-08 18:25:46 -0700
committerJean-Marc Valin <jmvalin@jmvalin.ca>2022-07-09 01:51:02 -0400
commitcaf56aab41c53b129491c986844de029e619ce27 (patch)
tree19569ae362a6d4370a0235816f3923ce3c24f472
parent1f891e3616b4e8b17276830930c296c9f88332e3 (diff)
downloadopus-caf56aab41c53b129491c986844de029e619ce27.tar.gz
update doc on custom mode
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
-rw-r--r--include/opus_custom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opus_custom.h b/include/opus_custom.h
index 2227be01..2f22d4b3 100644
--- a/include/opus_custom.h
+++ b/include/opus_custom.h
@@ -104,7 +104,8 @@ typedef struct OpusCustomDecoder OpusCustomDecoder;
/** The mode contains all the information necessary to create an
encoder. Both the encoder and decoder need to be initialized
with exactly the same mode, otherwise the output will be
- corrupted.
+ corrupted. The mode MUST NOT BE DESTROYED until the encoders and
+ decoders that use it are destroyed as well.
@brief Mode configuration
*/
typedef struct OpusCustomMode OpusCustomMode;