ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Sun Apr 27 20:25:21 2025 +0200| [e2fcf234e462277d402bf087d514fd08636507a2] | committer: Andreas Rheinhardt
avcodec/apv_decode: Fix shadowing Reviewed-by: Mark Thompson <s...@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2fcf234e462277d402bf087d514fd08636507a2 --- libavcodec/apv_decode.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c index e28bc29c8f..3b638795ea 100644 --- a/libavcodec/apv_decode.c +++ b/libavcodec/apv_decode.c @@ -313,11 +313,11 @@ static int apv_decode_metadata(AVCodecContext *avctx, AVFrame *frame, return err; if (mdm) { - for (int i = 0; i < 3; i++) { - mdm->display_primaries[i][0] = - av_make_q(mdcv->primary_chromaticity_x[i], 1 << 16); - mdm->display_primaries[i][1] = - av_make_q(mdcv->primary_chromaticity_y[i], 1 << 16); + for (int j = 0; j < 3; j++) { + mdm->display_primaries[j][0] = + av_make_q(mdcv->primary_chromaticity_x[j], 1 << 16); + mdm->display_primaries[j][1] = + av_make_q(mdcv->primary_chromaticity_y[j], 1 << 16); } mdm->white_point[0] = _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".