From 1df1d0eedbb4a3ccd0c336613658b2e978373fa5 Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 19 Sep 2015 22:57:25 -0700 Subject: [PATCH] rescaler: harmonize function protos Change-Id: I13b5f9add83c1225c82a650f3ef717582b057247 --- src/dsp/rescaler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsp/rescaler.c b/src/dsp/rescaler.c index 5308acf5..76a214ae 100644 --- a/src/dsp/rescaler.c +++ b/src/dsp/rescaler.c @@ -23,7 +23,7 @@ //------------------------------------------------------------------------------ // Row import -void WebPRescalerImportRowExpandC(WebPRescaler* wrk, const uint8_t* src) { +void WebPRescalerImportRowExpandC(WebPRescaler* const wrk, const uint8_t* src) { const int x_stride = wrk->num_channels; const int x_out_max = wrk->dst_width * wrk->num_channels; int channel; @@ -148,7 +148,7 @@ void WebPRescalerExportRowShrinkC(WebPRescaler* const wrk) { //------------------------------------------------------------------------------ // Main entry calls -void WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* const src) { +void WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* src) { assert(!WebPRescalerInputDone(wrk)); if (!wrk->x_expand) { WebPRescalerImportRowShrink(wrk, src);