changeset 7298:4f1d8431e96c libavcodec

Declare parameters of pred() that could be const as such
author vitor
date Thu, 17 Jul 2008 23:02:52 +0000
parents 04a3625bf2a6
children 1b5bc92244de
files ra288.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Thu Jul 17 23:01:31 2008 +0000
+++ b/ra288.c	Thu Jul 17 23:02:52 2008 +0000
@@ -97,7 +97,7 @@
         *(tgt++) = (*(m1++)) * (*(m2++));
 }
 
-static int pred(float *in, float *tgt, int n)
+static int pred(const float *in, float *tgt, int n)
 {
     int x, y;
     double f0, f1, f2;