shithub: libvpx

Download patch

ref: 17176cd452442b97b864de8488d444e7db7155ce
parent: 8f3db5f22e2f400f50f1ea050d17fe9bbbb272fe
author: Jingning Han <jingning@google.com>
date: Wed Dec 3 07:37:36 EST 2014

Fix indent in source_var_based_partition_search_method

Change-Id: I6e5e0571d6967b9b992966336715e35bb97f187e

--- 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);