aac: Rework extradata parsing code
authorVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 12 Apr 2018 21:39:50 +0000 (17:39 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 19 Apr 2018 14:49:06 +0000 (10:49 -0400)
commitfbfee6adea6166ad87ef46124095abbf079f7bc3
tree536137c88de124450343c71e1355be94489e03cc
parent424836505fba3b9ad8120cd86227f832fe35d8f6
aac: Rework extradata parsing code

- enable the parsing code
- use the new buffer instead of replacing the context one
- do not push/pop configuration, just discard the exiting one
- propagate errors correctly
libavcodec/aacdec_template.c