[FFmpeg-cvslog] avcodec/ppc/fdctdsp: fix const warning

Michael Niedermayer git at videolan.org
Sat Feb 28 18:42:14 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 27 23:07:22 2015 +0100| [5f1ea0bfc53ac221abf312aeb79cb693f3a6e07d] | committer: Michael Niedermayer

avcodec/ppc/fdctdsp: fix const warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/ppc/fdctdsp.c b/libavcodec/ppc/fdctdsp.c
index f2efc5d..40f4c6c 100644
--- a/libavcodec/ppc/fdctdsp.c
+++ b/libavcodec/ppc/fdctdsp.c
@@ -196,7 +196,7 @@ static const vector float fdctconsts[3] = {
 void ff_fdct_altivec(int16_t *block)
 {
     vector signed short *bp;
-    vector float *cp = fdctconsts;
+    const vector float *cp = fdctconsts;
     vector float b00, b10, b20, b30, b40, b50, b60, b70;
     vector float b01, b11, b21, b31, b41, b51, b61, b71;
     vector float mzero, cnst, cnsts0, cnsts1, cnsts2;



More information about the ffmpeg-cvslog mailing list