aacsbr: Turnoff in the event of over read.
authorAlex Converse <alex.converse@gmail.com>
Mon, 20 Mar 2017 19:44:42 +0000 (12:44 -0700)
committerAlex Converse <alex.converse@gmail.com>
Tue, 21 Mar 2017 16:38:36 +0000 (09:38 -0700)
commit2c8a3aa985acc906ecab37357f2798da7cb9822d
tree3860c8ae958a3729c14de339865f5733ecab8540
parentdb7a05dab0652d4ec6d89394c9024d02f44494a7
aacsbr: Turnoff in the event of over read.

Aliased compressed AAC bytes are almost certainly not meaningful SBR
data. In the wild this causes harsh artifacts switching HE-AAC streams
that don't have SBR headers aligned with segment boundaries.

Turning off SBR falls back to a default set of upsampling parameters
that can function as a sort of error concealment. This is consistent
with how the decoder handles other sorts of errors.
libavcodec/aacsbr_template.c