diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-03-14 19:11:56 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-14 19:11:56 +0000 |
commit | f5b2476fd322a4d36fde912cb2a30a850bd77f43 (patch) | |
tree | b2e4cc6f444ca5f6cf03f65baf964e72b586eb1e /libavcodec/ppc/h264_altivec.c | |
parent | b91813b6da3df97e3bb015c492a49b6cd759ddb2 (diff) | |
download | ffmpeg-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.c | 2 |
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; |