Browse Source

error_resilience: initialize prev_* variables

CC: libav-stable@libav.org
Bug-Id: CID 732293 / CID 732294
tags/n2.5
Vittorio Giovara 11 years ago
parent
commit
c442190a6b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/error_resilience.c

+ 1
- 1
libavcodec/error_resilience.c View File

@@ -423,7 +423,7 @@ static void guess_mv(ERContext *s)
int best_score = 256 * 256 * 256 * 64;
int best_pred = 0;
const int mot_index = (mb_x + mb_y * mot_stride) * mot_step;
int prev_x, prev_y, prev_ref;
int prev_x = 0, prev_y = 0, prev_ref = 0;

if ((mb_x ^ mb_y ^ pass) & 1)
continue;


Loading…
Cancel
Save