[FFmpeg-cvslog] lavc/ppc/svq1enc_altivec: Fix function prototype after dad31083.

Carl Eugen Hoyos git at videolan.org
Wed Nov 1 14:46:09 EET 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Wed Nov  1 13:41:18 2017 +0100| [f6b9e365cd48b96bc8a4af23fb11971bfc263919] | committer: Carl Eugen Hoyos

lavc/ppc/svq1enc_altivec: Fix function prototype after dad31083.

Silences a gcc warning:
src/libavcodec/ppc/svq1enc_altivec.c: In function 'ff_svq1enc_init_ppc':
src/libavcodec/ppc/svq1enc_altivec.c:80:26: warning: assignment from incompatible pointer type

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

 libavcodec/ppc/svq1enc_altivec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ppc/svq1enc_altivec.c b/libavcodec/ppc/svq1enc_altivec.c
index f63f086602..aa66b40996 100644
--- a/libavcodec/ppc/svq1enc_altivec.c
+++ b/libavcodec/ppc/svq1enc_altivec.c
@@ -31,7 +31,7 @@
 
 #if HAVE_ALTIVEC
 static int ssd_int8_vs_int16_altivec(const int8_t *pix1, const int16_t *pix2,
-                                     int size)
+                                     intptr_t size)
 {
     int i, size16 = size >> 4;
     vector signed char vpix1;



More information about the ffmpeg-cvslog mailing list