[FFmpeg-cvslog] avcodec/atrac3plusdec: fix compilation failure after last commit
James Almer
git at videolan.org
Fri Nov 4 14:13:47 EET 2022
ffmpeg | branch: release/5.0 | James Almer <jamrial at gmail.com> | Fri Nov 4 09:12:19 2022 -0300| [e2a529bdcacaa9e29a9c7342bb4f3142ab8f6a7d] | committer: James Almer
avcodec/atrac3plusdec: fix compilation failure after last commit
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2a529bdcacaa9e29a9c7342bb4f3142ab8f6a7d
---
libavcodec/atrac3plusdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
More information about the ffmpeg-cvslog
mailing list