aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/h264_altivec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-14 19:11:56 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-14 19:11:56 +0000
commitf5b2476fd322a4d36fde912cb2a30a850bd77f43 (patch)
treeb2e4cc6f444ca5f6cf03f65baf964e72b586eb1e /libavcodec/ppc/h264_altivec.c
parentb91813b6da3df97e3bb015c492a49b6cd759ddb2 (diff)
downloadffmpeg-f5b2476fd322a4d36fde912cb2a30a850bd77f43.tar.gz
Add av_uninit to vsrcBuc variable to work around some
'may be used uninitialized' warnings. Originally committed as revision 17961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/h264_altivec.c')
-rw-r--r--libavcodec/ppc/h264_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c
index b589be2657..039f7d1500 100644
--- a/libavcodec/ppc/h264_altivec.c
+++ b/libavcodec/ppc/h264_altivec.c
@@ -201,7 +201,7 @@ void put_no_rnd_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride
register int loadSecond = (((unsigned long)src) % 16) <= 7 ? 0 : 1;
register int reallyBadAlign = (((unsigned long)src) % 16) == 15 ? 1 : 0;
- vec_u8 vsrcAuc, vsrcBuc, vsrcperm0, vsrcperm1;
+ vec_u8 vsrcAuc, av_uninit(vsrcBuc), vsrcperm0, vsrcperm1;
vec_u8 vsrc0uc, vsrc1uc;
vec_s16 vsrc0ssH, vsrc1ssH;
vec_u8 vsrcCuc, vsrc2uc, vsrc3uc;