Commit e1bcbca9 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c442190a'

* commit 'c442190a':
  error_resilience: initialize prev_* variables

Note, these variables are not used without initialization prior
to the change
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 567ea2d6 c442190a
......@@ -448,7 +448,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment