shithub: libvpx

Download patch

ref: 3665f194faf28860dc0512ccad5609e8da453a2e
parent: d5937cd268330da4e80683444bc463d2016c07ee
parent: 17176cd452442b97b864de8488d444e7db7155ce
author: Jingning Han <[email protected]>
date: Wed Dec 3 10:43:40 EST 2014

Merge "Fix indent in source_var_based_partition_search_method"

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -3460,9 +3460,9 @@
       if (cpi->source_diff_var)
         vpx_free(cpi->source_diff_var);
 
-        CHECK_MEM_ERROR(cm, cpi->source_diff_var,
-                        vpx_calloc(cm->MBs, sizeof(diff)));
-      }
+      CHECK_MEM_ERROR(cm, cpi->source_diff_var,
+                      vpx_calloc(cm->MBs, sizeof(diff)));
+    }
 
     if (!cpi->frames_till_next_var_check)
       cpi->frames_till_next_var_check = set_var_thresh_from_histogram(cpi);