mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
IsFlat: return int
IsFlat is a boolean function. Don't use a specialized return type. Change-Id: I070395082023ceb50251c44f5f4253b90394710c
This commit is contained in:
parent
9f4d4a3f49
commit
f435de9575
@ -977,7 +977,7 @@ static void SwapOut(VP8EncIterator* const it) {
|
||||
SwapPtr(&it->yuv_out_, &it->yuv_out2_);
|
||||
}
|
||||
|
||||
static score_t IsFlat(const int16_t* levels, int num_blocks, score_t thresh) {
|
||||
static int IsFlat(const int16_t* levels, int num_blocks, score_t thresh) {
|
||||
score_t score = 0;
|
||||
while (num_blocks-- > 0) { // TODO(skal): refine positional scoring?
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user