Skip to content
Snippets Groups Projects
Commit e6c9f3a1 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov
Browse files

aacenc: reset special bands in the main frame encoding function


This commit moves the resetting of special bands (above RESERVED_BT)
to the main frame encoding function rather than the way it was done
previously in their corresponding search_for_... functions.

The reason why special bands need to be reset is that while normal
bands get chosen for every frame by the coder (twoloop by default)
the coders do not touch any special sfbs and will therefore
make them persist throughout the file.

If we zero them out any bands left unmarked will be chosen by
the second part of the coder (the trellis function in aaccoder.c).

Signed-off-by: default avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent 32be264c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment