From: Angie Chiang Date: Wed, 10 Feb 2016 00:01:11 +0000 (-0800) Subject: fix range_check error in vp10_[fwd/inv]_txfm1d.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f98565755ab25bc9822f195a3dec4e95e02de921;p=libvpx 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 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); \ } \ } \ }