update doc on custom mode

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
This commit is contained in:
Marcus Asteborg 2022-07-08 18:25:46 -07:00 committed by Jean-Marc Valin
parent 1f891e3616
commit caf56aab41
No known key found for this signature in database
GPG Key ID: 5E5DD9A36F9189C8

View File

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