ref: 43dfdc08ba57ce164e99e11226bcfad31db413e4
parent: 2da3721b16291b5a15928bb88691d8ee65e411e8
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Sat Oct 7 23:26:30 EDT 2017
Fix entropy coder doc Addresses issue https://github.com/xiph/opus/issues/54
--- a/celt/entdec.h
+++ b/celt/entdec.h
@@ -85,7 +85,7 @@
The bits must have been encoded with ec_enc_uint().
No call to ec_dec_update() is necessary after this call.
_ft: The number of integers that can be decoded (one more than the max).
- This must be at least one, and no more than 2**32-1.
+ This must be at least 2, and no more than 2**32-1.
Return: The decoded bits.*/
opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft);
--- a/celt/entenc.h
+++ b/celt/entenc.h
@@ -67,7 +67,7 @@
/*Encodes a raw unsigned integer in the stream.
_fl: The integer to encode.
_ft: The number of integers that can be encoded (one more than the max).
- This must be at least one, and no more than 2**32-1.*/
+ This must be at least 2, and no more than 2**32-1.*/
void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft);
/*Encodes a sequence of raw bits in the stream.