avfilter/vf_colormap: Fix declaration-after-statement

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-04-29 03:28:30 +02:00
parent f4ace6d82d
commit fdc16fbb7a

View File

@ -129,8 +129,7 @@ static void gauss_solve_triangular(const double *A, const int *p, double *b, int
}
for(int k = n - 1; k > 0; k--) {
b[k] /= A[k + n * k];
double t = b[k];
double t = b[k] /= A[k + n * k];
for (int i = 0; i < k; i++)
b[i] -= A[k + n * i] * t;
}