diff --git a/ssdv.c b/ssdv.c index 25bb505..4338dfb 100644 --- a/ssdv.c +++ b/ssdv.c @@ -405,7 +405,7 @@ static char ssdv_process(ssdv_t *s) s->dc[s->component] += UADJ(i); /* Calculate closest adjusted DC value */ - i = AADJ(s->dc[s->component]); + i = AADJ(s->dc[s->component]); ssdv_out_jpeg_int(s, 0, i - s->adc[s->component]); s->adc[s->component] = i; }