aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacenc.c
diff options
context:
space:
mode:
authorClaudio Freire <klaussfreire@gmail.com>2015-12-29 05:18:40 -0300
committerClaudio Freire <klaussfreire@gmail.com>2016-01-13 05:28:34 -0300
commit2a31b076b444d0c096efd4ab0eb4e19cf0ffd2ac (patch)
treede6ee79613da9c49e27ea9701b624da710eefd95 /libavcodec/aacenc.c
parentd3fe2e0dc991720bab723e6bc467976e0b14709a (diff)
downloadffmpeg-2a31b076b444d0c096efd4ab0eb4e19cf0ffd2ac.tar.gz
AAC encoder: fix assertion error with prediction
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.
Diffstat (limited to 'libavcodec/aacenc.c')
0 files changed, 0 insertions, 0 deletions