mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-21 19:32:52 +01:00
rescaler.c: fix alignment
Change-Id: Ifc2d0d301280baaa403fcdf8722fce42d28a1853
This commit is contained in:
parent
277d30749f
commit
4de35f4383
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
int WebPRescalerInit(WebPRescaler* const rescaler,
|
int WebPRescalerInit(WebPRescaler* const rescaler,
|
||||||
int src_width, int src_height,
|
int src_width, int src_height,
|
||||||
uint8_t* const dst,
|
uint8_t* const dst,
|
||||||
int dst_width, int dst_height, int dst_stride,
|
int dst_width, int dst_height, int dst_stride,
|
||||||
int num_channels, rescaler_t* const work) {
|
int num_channels, rescaler_t* const work) {
|
||||||
const int x_add = src_width, x_sub = dst_width;
|
const int x_add = src_width, x_sub = dst_width;
|
||||||
const int y_add = src_height, y_sub = dst_height;
|
const int y_add = src_height, y_sub = dst_height;
|
||||||
const uint64_t total_size = 2ull * dst_width * num_channels * sizeof(*work);
|
const uint64_t total_size = 2ull * dst_width * num_channels * sizeof(*work);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user