Fixed error in Vorbis I specification for limiting residue vector size
[platform/upstream/libvorbis.git] / doc / 08-residue.tex
index 2c1da67..ea38243 100644 (file)
@@ -269,8 +269,8 @@ process.
   1) [actual\_size] = current blocksize/2;
   2) if residue encoding is format 2
        3) [actual\_size] = [actual\_size] * [ch];
-  4) [limit\_residue\_begin] = maximum of ([residue\_begin],[actual\_size]);
-  5) [limit\_residue\_end] = maximum of ([residue\_end],[actual\_size]);
+  4) [limit\_residue\_begin] = minimum of ([residue\_begin],[actual\_size]);
+  5) [limit\_residue\_end] = minimum of ([residue\_end],[actual\_size]);
 \end{programlisting}
 
 The following convenience values are conceptually useful to clarifying