From 67a996d68a2256546cf09d546487ed7a658da91d Mon Sep 17 00:00:00 2001 From: James Zern Date: Sun, 23 Feb 2014 16:30:27 -0800 Subject: [PATCH] vpx_scale_rtcd.sh: fix conditional previously the scale functions would always be include regardless of the CONFIG_SPATIAL_RESAMPLING setting. Change-Id: Ifbccf47b20689b5dd61bb3ddccd5c013297b4e05 --- vpx_scale/vpx_scale_rtcd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpx_scale/vpx_scale_rtcd.sh b/vpx_scale/vpx_scale_rtcd.sh index a5faf1148..1d02b69d5 100644 --- a/vpx_scale/vpx_scale_rtcd.sh +++ b/vpx_scale/vpx_scale_rtcd.sh @@ -6,7 +6,7 @@ EOF forward_decls vpx_scale_forward_decls # Scaler functions -if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then +if [ "$CONFIG_SPATIAL_RESAMPLING" = "yes" ]; then prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" prototype void vp8_vertical_band_5_4_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" prototype void vp8_horizontal_line_5_3_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width"