Merge "fix range_check error in vp10_[fwd/inv]_txfm1d.c" into nextgenv2
This commit is contained in:
commit
ed5a6bd947
@ -8,6 +8,7 @@
|
|||||||
* be found in the AUTHORS file in the root of the source tree.
|
* be found in the AUTHORS file in the root of the source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "vp10/common/vp10_fwd_txfm1d.h"
|
#include "vp10/common/vp10_fwd_txfm1d.h"
|
||||||
#if CONFIG_COEFFICIENT_RANGE_CHECKING
|
#if CONFIG_COEFFICIENT_RANGE_CHECKING
|
||||||
#define range_check(stage, input, buf, size, bit) \
|
#define range_check(stage, input, buf, size, bit) \
|
||||||
@ -24,7 +25,7 @@
|
|||||||
printf("%d,", input[j]); \
|
printf("%d,", input[j]); \
|
||||||
} \
|
} \
|
||||||
printf("\n"); \
|
printf("\n"); \
|
||||||
assert(0, "vp10_fwd_txfm1d.c: range_check overflow"); \
|
assert(0); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
* be found in the AUTHORS file in the root of the source tree.
|
* be found in the AUTHORS file in the root of the source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "vp10/common/vp10_inv_txfm1d.h"
|
#include "vp10/common/vp10_inv_txfm1d.h"
|
||||||
#if CONFIG_COEFFICIENT_RANGE_CHECKING
|
#if CONFIG_COEFFICIENT_RANGE_CHECKING
|
||||||
#define range_check(stage, input, buf, size, bit) \
|
#define range_check(stage, input, buf, size, bit) \
|
||||||
@ -24,7 +25,7 @@
|
|||||||
printf("%d,", input[j]); \
|
printf("%d,", input[j]); \
|
||||||
} \
|
} \
|
||||||
printf("\n"); \
|
printf("\n"); \
|
||||||
assert(0, "vp10_inv_txfm1d.c: range_check overflow"); \
|
assert(0); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user