aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-14 19:14:40 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-14 19:14:40 +0000
commit2f2cabef9ca3d087588cdaa83f29cf5e34bda03e (patch)
treebe4b17633c0043819f9bd251b91b3fb7cc1be3c7
parent6d79971e69a3b92f8adbe76ba6455d32c494936a (diff)
downloadffmpeg-2f2cabef9ca3d087588cdaa83f29cf5e34bda03e.tar.gz
Add av_uninit to vbA[1-8], vbB[1-8] variables to work around
some 'may be used uninitialized' warnings. Originally committed as revision 17963 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libpostproc/postprocess_altivec_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpostproc/postprocess_altivec_template.c b/libpostproc/postprocess_altivec_template.c
index 159f99055b..c3c74613c2 100644
--- a/libpostproc/postprocess_altivec_template.c
+++ b/libpostproc/postprocess_altivec_template.c
@@ -225,8 +225,8 @@ static inline void doVertLowPass_altivec(uint8_t *src, int stride, PPContext *c)
DECLARE_ALIGNED(16, short, qp[8]) = {c->QP};
vector signed short vqp = vec_ld(0, qp);
vector signed short vb0, vb1, vb2, vb3, vb4, vb5, vb6, vb7, vb8, vb9;
- vector unsigned char vbA0, vbA1, vbA2, vbA3, vbA4, vbA5, vbA6, vbA7, vbA8, vbA9;
- vector unsigned char vbB0, vbB1, vbB2, vbB3, vbB4, vbB5, vbB6, vbB7, vbB8, vbB9;
+ vector unsigned char vbA0, av_uninit(vbA1), av_uninit(vbA2), av_uninit(vbA3), av_uninit(vbA4), av_uninit(vbA5), av_uninit(vbA6), av_uninit(vbA7), av_uninit(vbA8), vbA9;
+ vector unsigned char vbB0, av_uninit(vbB1), av_uninit(vbB2), av_uninit(vbB3), av_uninit(vbB4), av_uninit(vbB5), av_uninit(vbB6), av_uninit(vbB7), av_uninit(vbB8), vbB9;
vector unsigned char vbT0, vbT1, vbT2, vbT3, vbT4, vbT5, vbT6, vbT7, vbT8, vbT9;
vector unsigned char perml0, perml1, perml2, perml3, perml4,
perml5, perml6, perml7, perml8, perml9;