Skip to content
Snippets Groups Projects
  • Claudio Freire's avatar
    3b1cab93
    AAC encoder: fix wrong gain sacalefactor being set · 3b1cab93
    Claudio Freire authored
    In some conditions, where the first band was being zeroed
    mainly, the wrong global gain scalefactor would be written
    to the stream since it's always taken from the first band
    regardless of whether it's been marked as zero or not.
    
    So, always make sure it contians something useful.
    3b1cab93
    History
    AAC encoder: fix wrong gain sacalefactor being set
    Claudio Freire authored
    In some conditions, where the first band was being zeroed
    mainly, the wrong global gain scalefactor would be written
    to the stream since it's always taken from the first band
    regardless of whether it's been marked as zero or not.
    
    So, always make sure it contians something useful.