Merge "Fix compile error in Chromium building."

This commit is contained in:
JackyChen 2015-01-21 14:52:32 -08:00 committed by Gerrit Code Review
commit cd0830f452

View File

@ -478,13 +478,9 @@ void vp9_denoiser_free(VP9_DENOISER *denoiser) {
return;
}
for (i = 0; i < MAX_REF_FRAMES; ++i) {
if (&denoiser->running_avg_y[i] != NULL) {
vp9_free_frame_buffer(&denoiser->running_avg_y[i]);
}
}
if (&denoiser->mc_running_avg_y != NULL) {
vp9_free_frame_buffer(&denoiser->mc_running_avg_y);
vp9_free_frame_buffer(&denoiser->running_avg_y[i]);
}
vp9_free_frame_buffer(&denoiser->mc_running_avg_y);
}
#ifdef OUTPUT_YUV_DENOISED