# HG changeset patch # User reimar # Date 1279972522 0 # Node ID 218f5063fa65425ccd3ec943a40de6a30c9865cb # Parent fe0bf26c4c811485235043a01798469eeb120b10 Fix use of uninitialized data: A array element can not be used to initialized another array element of the same array. diff -r fe0bf26c4c81 -r 218f5063fa65 postprocess_altivec_template.c --- a/postprocess_altivec_template.c Wed Jun 30 15:38:06 2010 +0000 +++ b/postprocess_altivec_template.c Sat Jul 24 11:55:22 2010 +0000 @@ -62,10 +62,11 @@ vector by assuming (stride % 16) == 0, unfortunately this is not always true. */ + short data_0 = ((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1; DECLARE_ALIGNED(16, short, data)[8] = { - ((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1, - data[0] * 2 + 1, + data_0, + data_0 * 2 + 1, c->QP * 2, c->QP * 4 };