]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/error_resilience.c
Merge commit '443502aed8b814d883825e52e91e4f018955aa66'
[ffmpeg] / libavcodec / error_resilience.c
index 26117805e48e91943011b8f7e5205b8050641550..c72c562078d0b538435144952fc6b8339ba73914 100644 (file)
@@ -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;