diff options
author | James Almer <jamrial@gmail.com> | 2022-11-04 09:12:19 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-11-04 09:12:19 -0300 |
commit | e2a529bdcacaa9e29a9c7342bb4f3142ab8f6a7d (patch) | |
tree | ec53049ca4d5b3c0b863a3e0bf5601acaa6318a2 | |
parent | 9a1522173146af40b259400c6d10f348b9518bd4 (diff) | |
download | ffmpeg-e2a529bdcacaa9e29a9c7342bb4f3142ab8f6a7d.tar.gz |
avcodec/atrac3plusdec: fix compilation failure after last commit
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/atrac3plusdec.c | 2 |
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; } |