History

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

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

Andreas Rheinhardt committed 3 years ago

Commit 8eb094a1 parent 945760b1 file · +2 −2Browse files

Unified · Split

libavcodec/error_resilience.c+2−2
@@ -393,7 +393,7 @@ static void guess_mv(ERContext *s) · 392 unmodified lines
393 const ptrdiff_t mb_stride = s->mb_stride;393 const ptrdiff_t mb_stride = s->mb_stride;
394 const int mb_width = s->mb_width;394 const int mb_width = s->mb_width;
395 int mb_height = s->mb_height;395 int mb_height = s->mb_height;
396 int i, depth, num_avail;396 int i, num_avail;
397 int mb_x, mb_y;397 int mb_x, mb_y;
398 ptrdiff_t mot_step, mot_stride;398 ptrdiff_t mot_step, mot_stride;
399 int blocklist_length, next_blocklist_length;399 int blocklist_length, next_blocklist_length;
@@ -469,7 +469,7 @@ static void guess_mv(ERContext *s) · 69 unmodified lines
469 }469 }
470 }470 }
471 471
472 for (depth = 0; ; depth++) {472 for (;;) {
473 int changed, pass, none_left;473 int changed, pass, none_left;
474 int blocklist_index;474 int blocklist_index;
475 475

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