• Claudio Freire's avatar
    AAC encoder: fix assertion error with prediction · 2a31b076
    Claudio Freire authored
    Fixes an assertion error reported in #2686 that happens when
    using prediction (either explicitly or implicitly by setting
    the AAC main profile), since prediction code would allow
    creating new zeroes or removing existing ones, without
    properly checking for SF delta violations.
    
    This patch forbids creating/removing zeroes, perhaps an
    overly conservative approach, but a safe one. More permissive
    and sophisticated approaches may be attempted in the future.
    2a31b076
aacenc_pred.c 12.4 KB