]> granicus.if.org Git - libvpx/commitdiff
fix range_check error in vp10_[fwd/inv]_txfm1d.c
authorAngie Chiang <angiebird@google.com>
Wed, 10 Feb 2016 00:01:11 +0000 (16:01 -0800)
committerAngie Chiang <angiebird@google.com>
Wed, 10 Feb 2016 00:01:11 +0000 (16:01 -0800)
Change-Id: I7a810323fc33fb6d373c3f5bb4d5d0d33170948c

vp10/common/vp10_fwd_txfm1d.c
vp10/common/vp10_inv_txfm1d.c

index 6e19e278d151b43b5f6f1d44103597c9be87f458..f3da5c941f8b52acad574c94f21985c281daac66 100644 (file)
@@ -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);                                                        \
       }                                                                   \
     }                                                                     \
   }
index b64b6018296ff94b09af6cf0fa4250eb4ce468d1..606ca559fc787375553a0c147519a438b47008de 100644 (file)
@@ -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);                                                        \
       }                                                                   \
     }                                                                     \
   }