shithub: opus

Download patch

ref: caf56aab41c53b129491c986844de029e619ce27
parent: 1f891e3616b4e8b17276830930c296c9f88332e3
author: Marcus Asteborg <maastebo@microsoft.com>
date: Fri Jul 8 14:25:46 EDT 2022

update doc on custom mode

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>

--- 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;