ref: caf56aab41c53b129491c986844de029e619ce27
parent: 1f891e3616b4e8b17276830930c296c9f88332e3
author: Marcus Asteborg <[email protected]>
date: Fri Jul 8 14:25:46 EDT 2022
update doc on custom mode Signed-off-by: Jean-Marc Valin <[email protected]>
--- a/include/opus_custom.h
+++ b/include/opus_custom.h
@@ -104,7 +104,8 @@
/** 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;