shithub: libvpx

Download patch

ref: 08055b639a5f748aee7ee75b28e79a49cb40b75a
parent: 1883c940b99eaad5ace76520f4fb0bc10a46c89c
parent: ce08006951641ddc3af6ef75737bb96d2ce7cbcf
author: Jingning Han <jingning@google.com>
date: Wed Jan 7 10:54:06 EST 2015

Merge "Always check and free denoiser buffer memory space"

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -1780,9 +1780,7 @@
   }
 
 #if CONFIG_VP9_TEMPORAL_DENOISING
-  if (cpi->oxcf.noise_sensitivity > 0) {
-    vp9_denoiser_free(&(cpi->denoiser));
-  }
+  vp9_denoiser_free(&(cpi->denoiser));
 #endif
 
   for (t = 0; t < cpi->num_workers; ++t) {