[FFmpeg-devel] [PATCH] fix some 'may be used uninitialized' warnings in AltiVec code

Diego Biurrun diego
Sat Mar 14 17:21:37 CET 2009


Here is a patch to silence some 'may be used uninitialized' warnings
in our AltiVec optimizations.  The libpostproc part should be safe,
the H.264 part depends on vec_perm, so I'm not entirely sure about it.

BTW, the files

libavcodec/ppc/h264_altivec.c
libavcodec/ppc/h264_template_altivec.c 

contain massive code duplication between them.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uninit_ppc.diff
Type: text/x-diff
Size: 2392 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090314/4a2f8d22/attachment.diff>



More information about the ffmpeg-devel mailing list