mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-29 16:12:54 +01:00
fix for weird msvc warning message
" warning C4098: 'RescalerImportRowShrinkSSE2' : 'void' function returning a value" Change-Id: Ifa893502e3e4b394910e142d954393dda9d59d1a
This commit is contained in:
parent
ae49ad8641
commit
74fb458bbc
@ -37,11 +37,9 @@ static void RescalerImportRowShrinkSSE2(WebPRescaler* const wrk,
|
||||
rescaler_t* frow = wrk->frow;
|
||||
const rescaler_t* const frow_end = wrk->frow + 4 * wrk->dst_width;
|
||||
|
||||
if (wrk->num_channels != 4) {
|
||||
return WebPRescalerImportRowShrinkC(wrk, src);
|
||||
}
|
||||
if (wrk->x_add > (x_sub << 7)) {
|
||||
return WebPRescalerImportRowShrinkC(wrk, src);
|
||||
if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) {
|
||||
WebPRescalerImportRowShrinkC(wrk, src);
|
||||
return;
|
||||
}
|
||||
assert(!WebPRescalerInputDone(wrk));
|
||||
assert(!wrk->x_expand);
|
||||
|
Loading…
x
Reference in New Issue
Block a user