small gif2webp fix
the old kmin value was printed instead of the new one. Change-Id: I0dcf23a29b7ce6bad08013a1980c5ce027b1bfe9
This commit is contained in:
parent
4df0c89e24
commit
5a7533ceb3
@ -62,9 +62,9 @@ static void SanitizeKeyFrameIntervals(size_t* const kmin_ptr,
|
||||
}
|
||||
// Limit the max number of frames that are allocated.
|
||||
if (kmax - kmin > MAX_CACHE_SIZE) {
|
||||
kmin = kmax - MAX_CACHE_SIZE;
|
||||
fprintf(stderr,
|
||||
"WARNING: Setting kmin = %zu, so that kmax - kmin <= 30.\n", kmin);
|
||||
kmin = kmax - MAX_CACHE_SIZE;
|
||||
}
|
||||
*kmin_ptr = kmin;
|
||||
*kmax_ptr = kmax;
|
||||
|
Loading…
Reference in New Issue
Block a user