mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 09:12:33 +00:00
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:
parent
f4ace6d82d
commit
fdc16fbb7a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user