diff options
author | James Almer <jamrial@gmail.com> | 2022-07-19 08:27:48 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-07-22 09:19:11 -0300 |
commit | 5114ce1e2a4c71ddf4971ad3cf9bd43ae16571c3 (patch) | |
tree | 8f750638b50e1b2ad4e5e2f21fada7d67fe0f56d /libavcodec/decode.c | |
parent | 130d19bf2044ac76372d1b97ab87ab283c8b37f8 (diff) | |
download | ffmpeg-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/decode.c')
-rw-r--r-- | libavcodec/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 14ce4c2e2f..0613681f89 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -359,7 +359,7 @@ FF_ENABLE_DEPRECATION_WARNINGS side= av_packet_get_side_data(avci->last_pkt_props, AV_PKT_DATA_SKIP_SAMPLES, &side_size); if(side && side_size>=10) { - avci->skip_samples = AV_RL32(side) * avci->skip_samples_multiplier; + avci->skip_samples = AV_RL32(side); avci->skip_samples = FFMAX(0, avci->skip_samples); discard_padding = AV_RL32(side + 4); av_log(avctx, AV_LOG_DEBUG, "skip %d / discard %d samples due to side data\n", |