From f98565755ab25bc9822f195a3dec4e95e02de921 Mon Sep 17 00:00:00 2001 From: Angie Chiang Date: Tue, 9 Feb 2016 16:01:11 -0800 Subject: [PATCH] fix range_check error in vp10_[fwd/inv]_txfm1d.c Change-Id: I7a810323fc33fb6d373c3f5bb4d5d0d33170948c --- vp10/common/vp10_fwd_txfm1d.c | 3 ++- vp10/common/vp10_inv_txfm1d.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vp10/common/vp10_fwd_txfm1d.c b/vp10/common/vp10_fwd_txfm1d.c index 6e19e278d..f3da5c941 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 #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 b64b60182..606ca559f 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 #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); \ } \ } \ } -- 2.40.0