Merge "a tiny fix for MSVC build" into experimental

This commit is contained in:
Debargha Mukherjee 2012-08-08 16:12:23 -07:00 committed by Gerrit Code Review
commit b04e87c6ab

View File

@ -628,7 +628,12 @@ static void vp8_filter_block2d_8_c
(kInterp_Extend - 1) + output_height + kInterp_Extend;
const unsigned int max_intermediate_height =
(kInterp_Extend - 1) + filter_max_height + kInterp_Extend;
#ifdef _MSC_VER
// MSVC does not support C99 style declaration
unsigned char intermediate_buffer[23 * 16];
#else
unsigned char intermediate_buffer[max_intermediate_height * filter_max_width];
#endif
const int intermediate_next_stride = 1 - intermediate_height * output_width;
// Horizontal pass (src -> transposed intermediate).