Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-07-19 14:27:48 +0300
committerJames Almer <jamrial@gmail.com>2022-07-22 15:19:11 +0300
commit5114ce1e2a4c71ddf4971ad3cf9bd43ae16571c3 (patch)
tree8f750638b50e1b2ad4e5e2f21fada7d67fe0f56d /libavcodec/aacdec_template.c
parent130d19bf2044ac76372d1b97ab87ab283c8b37f8 (diff)
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/aacdec_template.c')
-rw-r--r--libavcodec/aacdec_template.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c
index 10fba3d3b2..119976aa19 100644
--- a/libavcodec/aacdec_template.c
+++ b/libavcodec/aacdec_template.c
@@ -3418,9 +3418,6 @@ static int aac_decode_frame_int(AVCodecContext *avctx, AVFrame *frame,
ac->oc[1].status = OC_LOCKED;
}
- if (multiplier)
- avctx->internal->skip_samples_multiplier = 2;
-
if (!ac->frame->data[0] && samples) {
av_log(avctx, AV_LOG_ERROR, "no frame data found\n");
err = AVERROR_INVALIDDATA;