Skip to content
Snippets Groups Projects
  • Mark Harris's avatar
    bd54e279
    Correct SILK encoder gain limit · bd54e279
    Mark Harris authored
    Ensure that the SILK encoder's log gain is 63, not 64, when encoding
    a maximum-value delta gain index of 40.  This matches the decoder
    and RFC 6716 4.2.7.4, and prevents an assertion failure in the rare
    case that the gain is later independently coded.
    bd54e279
    History
    Correct SILK encoder gain limit
    Mark Harris authored
    Ensure that the SILK encoder's log gain is 63, not 64, when encoding
    a maximum-value delta gain index of 40.  This matches the decoder
    and RFC 6716 4.2.7.4, and prevents an assertion failure in the rare
    case that the gain is later independently coded.