[FFmpeg-cvslog] ppc: Include string.h for memset

Martin Storsjö git at videolan.org
Mon Jan 21 13:51:45 CET 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sun Jan 20 16:30:09 2013 +0200| [d160a2fb4caa6c4e931b13c87663d8e81dc04882] | committer: Martin Storsjö

ppc: Include string.h for memset

This fixes build failures on ppc machines with a compiler that
supports -Werror=implicit-function-declaration.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d160a2fb4caa6c4e931b13c87663d8e81dc04882
---

 libavcodec/ppc/vp3dsp_altivec.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/ppc/vp3dsp_altivec.c b/libavcodec/ppc/vp3dsp_altivec.c
index 6adf9ae..24ad09f 100644
--- a/libavcodec/ppc/vp3dsp_altivec.c
+++ b/libavcodec/ppc/vp3dsp_altivec.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <string.h>
+
 #include "config.h"
 #include "libavutil/attributes.h"
 #include "libavutil/cpu.h"



More information about the ffmpeg-cvslog mailing list