diff --git a/src/dec/vp8li.h b/src/dec/vp8li.h index 2abf5d2e..7f96bf9d 100644 --- a/src/dec/vp8li.h +++ b/src/dec/vp8li.h @@ -48,8 +48,8 @@ typedef struct VP8LTransform VP8LTransform; struct VP8LTransform { VP8LImageTransformType type_; // transform type. int bits_; // subsampling bits defining transform window. - size_t xsize_; // transform window X index. - size_t ysize_; // transform window Y index. + int xsize_; // transform window X index. + int ysize_; // transform window Y index. uint32_t *data_; // transform data. }; diff --git a/src/dsp/lossless.c b/src/dsp/lossless.c index 22aa0c0a..84160efd 100644 --- a/src/dsp/lossless.c +++ b/src/dsp/lossless.c @@ -323,7 +323,7 @@ static void ColorIndexInverseTransform( } void VP8LInverseTransform(const VP8LTransform* const transform, - size_t row_start, size_t row_end, + int row_start, int row_end, uint32_t* const data_in, uint32_t* const data_out) { assert(row_start < row_end); assert(row_end <= transform->ysize_); diff --git a/src/dsp/lossless.h b/src/dsp/lossless.h index 89a03df9..10fdb96c 100644 --- a/src/dsp/lossless.h +++ b/src/dsp/lossless.h @@ -30,7 +30,7 @@ struct VP8LTransform; // Defined in dec/vp8li.h. // The data_in & data_out are source and destination data pointers respectively // corresponding to the intermediate row (row_start). void VP8LInverseTransform(const struct VP8LTransform* const transform, - size_t row_start, size_t row_end, + int row_start, int row_end, uint32_t* const data_in, uint32_t* const data_out); //------------------------------------------------------------------------------