]> granicus.if.org Git - libvpx/blobdiff - vp8/decoder/decodeframe.c
vp8_decode_frame: remove dead increment
[libvpx] / vp8 / decoder / decodeframe.c
index 1b035be58620dc24cc4276da7952bdb8db99f010..4f404bd663d76da8e09c9bc63a6bbef8404659d5 100644 (file)
@@ -101,6 +101,8 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
     int i;
 #if CONFIG_ERROR_CONCEALMENT
     int corruption_detected = 0;
+#else
+    (void)mb_idx;
 #endif
 
     if (xd->mode_info_context->mbmi.mb_skip_coeff)
@@ -687,7 +689,7 @@ static void decode_mb_rows(VP8D_COMP *pbi)
                                                lf_dst[0], lf_dst[1], lf_dst[2]);
                 else
                     vp8_loop_filter_row_simple(pc, lf_mic, mb_row-1,
-                                               recon_y_stride,
+                                               recon_y_stride, recon_uv_stride,
                                                lf_dst[0], lf_dst[1], lf_dst[2]);
                 if(mb_row > 1)
                 {
@@ -732,7 +734,8 @@ static void decode_mb_rows(VP8D_COMP *pbi)
                                        lf_dst[2]);
         else
             vp8_loop_filter_row_simple(pc, lf_mic, mb_row-1, recon_y_stride,
-                                       lf_dst[0], lf_dst[1], lf_dst[2]);
+                                       recon_uv_stride, lf_dst[0], lf_dst[1],
+                                       lf_dst[2]);
 
         yv12_extend_frame_left_right_c(yv12_fb_new,
                                        eb_dst[0],
@@ -1066,7 +1069,6 @@ int vp8_decode_frame(VP8D_COMP *pbi)
                 pc->vert_scale = clear[6] >> 6;
             }
             data += 7;
-            clear += 7;
         }
         else
         {