aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/atrac3plusdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-11-04 09:12:19 -0300
committerJames Almer <jamrial@gmail.com>2022-11-04 09:12:19 -0300
commite2a529bdcacaa9e29a9c7342bb4f3142ab8f6a7d (patch)
treeec53049ca4d5b3c0b863a3e0bf5601acaa6318a2 /libavcodec/atrac3plusdec.c
parent9a1522173146af40b259400c6d10f348b9518bd4 (diff)
downloadffmpeg-e2a529bdcacaa9e29a9c7342bb4f3142ab8f6a7d.tar.gz
avcodec/atrac3plusdec: fix compilation failure after last commit
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/atrac3plusdec.c')
-rw-r--r--libavcodec/atrac3plusdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/atrac3plusdec.c b/libavcodec/atrac3plusdec.c
index d1287ee8da..f2941299be 100644
--- a/libavcodec/atrac3plusdec.c
+++ b/libavcodec/atrac3plusdec.c
@@ -155,7 +155,7 @@ static av_cold int set_channel_params(ATRAC3PContext *ctx,
return AVERROR_INVALIDDATA;
}
- ctx->channel_map = channel_map[channels - 1];
+ ctx->channel_map = channel_map[avctx->channels - 1];
return 0;
}