* [FFmpeg-devel] [PATCH] aacdec_usac: correct Mps212 parsing location
@ 2025-04-28 6:58 Lynne
0 siblings, 0 replies; only message in thread
From: Lynne @ 2025-04-28 6:58 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Lynne
It gets parsed after SBR, even if there is no SBR.
---
libavcodec/aac/aacdec_usac.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c
index ccdf58bc8e..ef0c115aa0 100644
--- a/libavcodec/aac/aacdec_usac.c
+++ b/libavcodec/aac/aacdec_usac.c
@@ -1478,11 +1478,11 @@ static int decode_usac_core_coder(AACDecContext *ac, AACUSACConfig *usac,
ret = ff_aac_sbr_decode_usac_data(ac, che, ec, gb, sbr_ch, indep_flag);
if (ret < 0)
return ret;
+ }
- if (ec->stereo_config_index) {
- avpriv_report_missing_feature(ac->avctx, "AAC USAC Mps212");
- return AVERROR_PATCHWELCOME;
- }
+ if (ec->stereo_config_index) {
+ avpriv_report_missing_feature(ac->avctx, "AAC USAC Mps212");
+ return AVERROR_PATCHWELCOME;
}
spectrum_decode(ac, usac, che, core_nb_channels);
--
2.49.0.395.g12beb8f557c
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-28 6:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-28 6:58 [FFmpeg-devel] [PATCH] aacdec_usac: correct Mps212 parsing location Lynne
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git