History

avcodec/apv_decode: Fix shadowing

Andreas Rheinhardt committed 1 year ago

Commit e2fcf231 parent 431c0f31 file · +5 −5Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/apv_decode.c+5−5
@@ -313,11 +313,11 @@ static int apv_decode_metadata(AVCodecContext *avctx, AVFrame *frame, · 312 unmodified lines
313 return err;313 return err;
314 314
315 if (mdm) {315 if (mdm) {
316 for (int i = 0; i < 3; i++) {316 for (int j = 0; j < 3; j++) {
317 mdm->display_primaries[i][0] =317 mdm->display_primaries[j][0] =
318 av_make_q(mdcv->primary_chromaticity_x[i], 1 << 16);318 av_make_q(mdcv->primary_chromaticity_x[j], 1 << 16);
319 mdm->display_primaries[i][1] =319 mdm->display_primaries[j][1] =
320 av_make_q(mdcv->primary_chromaticity_y[i], 1 << 16);320 av_make_q(mdcv->primary_chromaticity_y[j], 1 << 16);
321 }321 }
322 322
323 mdm->white_point[0] =323 mdm->white_point[0] =

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t