Merge "Alignment fix" into 0.2.0

This commit is contained in:
James Zern 2012-08-09 16:09:58 -07:00 committed by Gerrit Code Review
commit f06c1d8f7b
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;
} }