Skip to content
  • Martijn van Beurden's avatar
    Make test_compression a little more forgiving · 3d800a57
    Martijn van Beurden authored and Erik de Castro Lopo's avatar Erik de Castro Lopo committed
    
    
    The retune of compression levels makes this test fail. This is due
    to a few approximations used in the encoder that determine which
    LP coefficient should result in the smallest file. Differences are
    usually very small, but in my case this resulted in compression
    level 6 giving a 3 byte bigger file.
    
    This patch lets the compression test pass even if the a compression
    level results in a file that is up to 10 byte larger than the
    previous level
    
    Signed-off-by: default avatarErik de Castro Lopo <erikd@mega-nerd.com>
    3d800a57