[FFmpeg-devel] [PATCH 1/2] avcodec/ppc/fdctdsp: fix const warning

Michael Niedermayer michaelni at gmx.at
Fri Feb 27 23:07:22 CET 2015


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list