avcodec/aacdec: remove skip samples multiplier

The amount of padding samples reported by containers take into account the
extended samplerate in HE-AAC.

Fixes ticket #9671.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2022-07-19 08:27:48 -03:00
parent 130d19bf20
commit 5114ce1e2a
16 changed files with 13 additions and 20 deletions

View File

@@ -161,8 +161,6 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
goto free_and_end;
}
avci->skip_samples_multiplier = 1;
if (codec2->priv_data_size > 0) {
if (!avctx->priv_data) {
avctx->priv_data = av_mallocz(codec2->priv_data_size);