summaryrefslogtreecommitdiff
path: root/apps/recorder/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/resize.c')
-rw-r--r--apps/recorder/resize.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/recorder/resize.c b/apps/recorder/resize.c
index 0f227f8b09..b570116179 100644
--- a/apps/recorder/resize.c
+++ b/apps/recorder/resize.c
@@ -580,7 +580,7 @@ static bool scale_h_linear(void *out_line_ptr, struct scaler_context *ctx,
580static inline bool scale_v_linear(struct rowset *rset, 580static inline bool scale_v_linear(struct rowset *rset,
581 struct scaler_context *ctx) 581 struct scaler_context *ctx)
582{ 582{
583 uint32_t mul, iy, iye; 583 uint32_t iy, iye;
584 int32_t oy; 584 int32_t oy;
585#if defined(CPU_SH) || defined (TEST_SH_MATH) 585#if defined(CPU_SH) || defined (TEST_SH_MATH)
586 const uint32_t v_i_val = ctx->src->height - 1, 586 const uint32_t v_i_val = ctx->src->height - 1,
@@ -604,7 +604,6 @@ static inline bool scale_v_linear(struct rowset *rset,
604 *rowinc_px, *rowval_px, *rowtmp_px; 604 *rowinc_px, *rowval_px, *rowtmp_px;
605 605
606 SDEBUGF("scale_v_linear\n"); 606 SDEBUGF("scale_v_linear\n");
607 mul = 0;
608 iy = 0; 607 iy = 0;
609 iye = v_o_val; 608 iye = v_o_val;
610 /* get first scaled row in rowtmp */ 609 /* get first scaled row in rowtmp */