libavcodec/elbg.c:175: error: Uninitialized Value
  The value read from max[_] was never initialized.

libavcodec/elbg.c:175:9: 
173.     for (i=0; i<elbg->dim; i++) {
174.         newcentroid_i[i] = min[i] + (max[i] - min[i])/3;
175.         newcentroid_p[i] = min[i] + (2*(max[i] - min[i]))/3;
             ^
176.     }
177. }

static void get_new_centroids(elbg_data *elbg, int huc, int *newcentroid_i,
                              int *newcentroid_p)
{
    cell *tempcell;
    int min[elbg->dim];
    int max[elbg->dim];
    int i;
    for (i=0; i< elbg->dim; i++) {
        min[i]=INT_MAX;
        max[i]=0;
    }
    for (tempcell = elbg->cells[huc]; tempcell; tempcell = tempcell->next)
        for(i=0; i<elbg->dim; i++) {
            min[i]=FFMIN(min[i], elbg->points[tempcell->index*elbg->dim + i]);
            max[i]=FFMAX(max[i], elbg->points[tempcell->index*elbg->dim + i]);
        }
    for (i=0; i<elbg->dim; i++) {
        newcentroid_i[i] = min[i] + (max[i] - min[i])/3;
        newcentroid_p[i] = min[i] + (2*(max[i] - min[i]))/3;
    }
}
['static void get_new_centroids(elbg_data *elbg, int huc, int *newcentroid_i,\n                              int *newcentroid_p)\n{\n    cell *tempcell;\n    int min[elbg->dim];\n    int max[elbg->dim];\n    int i;\n    for (i=0; i< elbg->dim; i++) {\n        min[i]=INT_MAX;\n        max[i]=0;\n    }\n    for (tempcell = elbg->cells[huc]; tempcell; tempcell = tempcell->next)\n        for(i=0; i<elbg->dim; i++) {\n            min[i]=FFMIN(min[i], elbg->points[tempcell->index*elbg->dim + i]);\n            max[i]=FFMAX(max[i], elbg->points[tempcell->index*elbg->dim + i]);\n        }\n    for (i=0; i<elbg->dim; i++) {\n        newcentroid_i[i] = min[i] + (max[i] - min[i])/3;\n        newcentroid_p[i] = min[i] + (2*(max[i] - min[i]))/3;\n    }\n}']