1
0
Fork 0

avcodec/error_resilience: Remove set-but-not-used variable

Fixes a -Wunused-but-set-variable from Clang 15.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-09-25 21:51:54 +02:00
parent 945760b347
commit 8eb094adb2
1 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,7 @@ static void guess_mv(ERContext *s)
const ptrdiff_t mb_stride = s->mb_stride;
const int mb_width = s->mb_width;
int mb_height = s->mb_height;
int i, depth, num_avail;
int i, num_avail;
int mb_x, mb_y;
ptrdiff_t mot_step, mot_stride;
int blocklist_length, next_blocklist_length;
@ -469,7 +469,7 @@ static void guess_mv(ERContext *s)
}
}
for (depth = 0; ; depth++) {
for (;;) {
int changed, pass, none_left;
int blocklist_index;