mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 13:28:17 +00:00
avcodec/libfdk-aacdec: fix the check for downmix layout order
The code reads a mask afer this check, meaning it expects NATIVE order, not
others.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 7755d264bd)
This commit is contained in:
1 parent
17638a3a3c
commit
e9f8ce19a2
1 file changed
+1
-1
@@ -269,7 +269,7 @@ static av_cold int fdk_aac_decode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
if (s->downmix_layout.nb_channels > 0 &&
|
||||
s->downmix_layout.order != AV_CHANNEL_ORDER_NATIVE) {
|
||||
s->downmix_layout.order == AV_CHANNEL_ORDER_NATIVE) {
|
||||
int downmix_channels = -1;
|
||||
|
||||
switch (s->downmix_layout.u.mask) {
|
||||
|
||||
Reference in new issue
Block a user