Fix use of uninitialized data: A array element can not be
used to initialized another array element of the same array. Originally committed as revision 24479 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5a55d5b592
commit
a2a17d3f87
@ -62,10 +62,11 @@ static inline int vertClassify_altivec(uint8_t src[], int stride, PPContext *c)
|
|||||||
vector by assuming (stride % 16) == 0, unfortunately
|
vector by assuming (stride % 16) == 0, unfortunately
|
||||||
this is not always true.
|
this is not always true.
|
||||||
*/
|
*/
|
||||||
|
short data_0 = ((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1;
|
||||||
DECLARE_ALIGNED(16, short, data)[8] =
|
DECLARE_ALIGNED(16, short, data)[8] =
|
||||||
{
|
{
|
||||||
((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1,
|
data_0,
|
||||||
data[0] * 2 + 1,
|
data_0 * 2 + 1,
|
||||||
c->QP * 2,
|
c->QP * 2,
|
||||||
c->QP * 4
|
c->QP * 4
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user