fix range_check error in vp10_[fwd/inv]_txfm1d.c Change-Id: I7a810323fc33fb6d373c3f5bb4d5d0d33170948c
diff --git a/vp10/common/vp10_fwd_txfm1d.c b/vp10/common/vp10_fwd_txfm1d.c index 6e19e27..f3da5c9 100644 --- a/vp10/common/vp10_fwd_txfm1d.c +++ b/vp10/common/vp10_fwd_txfm1d.c
@@ -8,6 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include <stdlib.h> #include "vp10/common/vp10_fwd_txfm1d.h" #if CONFIG_COEFFICIENT_RANGE_CHECKING #define range_check(stage, input, buf, size, bit) \ @@ -24,7 +25,7 @@ printf("%d,", input[j]); \ } \ printf("\n"); \ - assert(0, "vp10_fwd_txfm1d.c: range_check overflow"); \ + assert(0); \ } \ } \ }
diff --git a/vp10/common/vp10_inv_txfm1d.c b/vp10/common/vp10_inv_txfm1d.c index b64b601..606ca55 100644 --- a/vp10/common/vp10_inv_txfm1d.c +++ b/vp10/common/vp10_inv_txfm1d.c
@@ -8,6 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include <stdlib.h> #include "vp10/common/vp10_inv_txfm1d.h" #if CONFIG_COEFFICIENT_RANGE_CHECKING #define range_check(stage, input, buf, size, bit) \ @@ -24,7 +25,7 @@ printf("%d,", input[j]); \ } \ printf("\n"); \ - assert(0, "vp10_inv_txfm1d.c: range_check overflow"); \ + assert(0); \ } \ } \ }