Commit 09c31b39 authored by vitor's avatar vitor

Do not merge declaration and initialization in elbg.c to

workaround an ICC bug.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14342 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5e41892a
......@@ -249,9 +249,13 @@ static void try_shift_candidate(elbg_data *elbg, int idx[3])
int j, k, olderror=0, newerror, cont=0;
int newutility[3];
int newcentroid[3][elbg->dim];
int *newcentroid_ptrs[3] = { newcentroid[0], newcentroid[1], newcentroid[2] };
int *newcentroid_ptrs[3];
cell *tempcell;
newcentroid_ptrs[0] = newcentroid[0];
newcentroid_ptrs[1] = newcentroid[1];
newcentroid_ptrs[2] = newcentroid[2];
for (j=0; j<3; j++)
olderror += elbg->utility[idx[j]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment