summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-07-19 08:27:48 -0300
committerJames Almer <jamrial@gmail.com>2022-07-22 09:19:11 -0300
commit5114ce1e2a4c71ddf4971ad3cf9bd43ae16571c3 (patch)
tree8f750638b50e1b2ad4e5e2f21fada7d67fe0f56d /libavcodec/avcodec.c
parent130d19bf2044ac76372d1b97ab87ab283c8b37f8 (diff)
downloadffmpeg-5114ce1e2a4c71ddf4971ad3cf9bd43ae16571c3.tar.gz
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>
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r--libavcodec/avcodec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index fb11440e5d..4bc18183a9 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -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);