Alignment fix

Change-Id: Ia5475247f03456b01571ae7531da90f74c068045
This commit is contained in:
Urvang Joshi 2012-08-09 23:27:29 +05:30
parent a0a488554d
commit f56e98fd11
2 changed files with 2 additions and 2 deletions

View File

@ -616,7 +616,7 @@ static WEBP_INLINE HTreeGroup* GetHtreeGroupForPos(VP8LMetadata* const hdr,
typedef void (*ProcessRowsFunc)(VP8LDecoder* const dec, int row); typedef void (*ProcessRowsFunc)(VP8LDecoder* const dec, int row);
static void ApplyInverseTransforms(VP8LDecoder* const dec, int num_rows, static void ApplyInverseTransforms(VP8LDecoder* const dec, int num_rows,
const uint32_t* const rows) { const uint32_t* const rows) {
int n = dec->next_transform_; int n = dec->next_transform_;
const int cache_pixs = dec->width_ * num_rows; const int cache_pixs = dec->width_ * num_rows;
const int start_row = dec->last_row_; const int start_row = dec->last_row_;

View File

@ -989,7 +989,7 @@ void VP8LInverseTransform(const VP8LTransform* const transform,
memmove(src, out, in_stride * sizeof(*src)); memmove(src, out, in_stride * sizeof(*src));
ColorIndexInverseTransform(transform, row_start, row_end, src, out); ColorIndexInverseTransform(transform, row_start, row_end, src, out);
} else { } else {
ColorIndexInverseTransform(transform, row_start, row_end, in, out); ColorIndexInverseTransform(transform, row_start, row_end, in, out);
} }
break; break;
} }