shithub: opus

Download patch

ref: 1c311423c86b89eba27a494e17c79fefd7d75ab0
parent: 5eb270d96c0cae417b7803766bfc0523a57e6b99
author: Mark Harris <[email protected]>
date: Fri Jul 8 07:08:08 EDT 2016

Packets indicating DTX may be up to 2 bytes

--- a/include/opus.h
+++ b/include/opus.h
@@ -142,7 +142,7 @@
   *
   * opus_encode() and opus_encode_float() return the number of bytes actually written to the packet.
   * The return value <b>can be negative</b>, which indicates that an error has occurred. If the return value
-  * is 1 byte, then the packet does not need to be transmitted (DTX).
+  * is 2 bytes or less, then the packet does not need to be transmitted (DTX).
   *
   * Once the encoder state if no longer needed, it can be destroyed with
   *