Commit e67377b3 authored by Luc Trudeau's avatar Luc Trudeau

[CFL] Fix int type in padding function

Int was used but should have been int16_t. This does not alter the
encoder/decoder behavior

Change-Id: I6bfd8a3942e9f9b86cccf10c144fec147e996944
parent d3487722
......@@ -46,7 +46,7 @@ static INLINE void cfl_pad(CFL_CTX *cfl, int width, int height) {
const int min_height = height - diff_height;
int16_t *pred_buf_q3 = cfl->pred_buf_q3 + (width - diff_width);
for (int j = 0; j < min_height; j++) {
const int last_pixel = pred_buf_q3[-1];
const int16_t last_pixel = pred_buf_q3[-1];
for (int i = 0; i < diff_width; i++) {
pred_buf_q3[i] = last_pixel;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment