Skip to content

Commit

Permalink
vidinfo: fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Jan 8, 2025
1 parent 2977472 commit 443aba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vidinfo/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static void dim_region(struct vidframe *frame,
for (y = 0; y < height; y++) {

for (x = 0; x < width; x++) {
p[x] = p[x] * grade;
p[x] = (uint8_t)(p[x] * grade);
}

p += frame->linesize[0];
Expand Down

0 comments on commit 443aba0

Please sign in to comment.