shithub: opus

Download patch

ref: 508c5710e3b640170217181f1bbf10777bddf51e
parent: be5a7da1622c973d25daf11226fde34128b22254
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Thu Jun 2 15:08:01 EDT 2016

Oops, edited the wrong comment in the previous commit

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -995,10 +995,10 @@
    equiv = bitrate;
    /* Take into account overhead from smaller frames. */
    equiv -= (40*channels+20)*(frame_rate - 50);
-   /* CBR is about a 10% penalty for both SILK and CELT. */
+   /* CBR is about a 8% penalty for both SILK and CELT. */
    if (!vbr)
       equiv -= equiv/12;
-   /* Complexity makes about 8% difference (from 0 to 10) in general. */
+   /* Complexity makes about 10% difference (from 0 to 10) in general. */
    equiv = equiv * (90+complexity)/100;
    if (mode == MODE_SILK_ONLY || mode == MODE_HYBRID)
    {