]> git.sesse.net Git - ffmpeg/commitdiff
Declare parameters of pred() that could be const as such
authorVitor Sessak <vitor1001@gmail.com>
Thu, 17 Jul 2008 23:02:52 +0000 (23:02 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Thu, 17 Jul 2008 23:02:52 +0000 (23:02 +0000)
Originally committed as revision 14270 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ra288.c

index 799d349e7761bfa884e328c8417c83d146f294b4..28dca658c86e68d401ad54e966eca9cbab0ee3a0 100644 (file)
@@ -97,7 +97,7 @@ static void colmult(float *tgt, const float *m1, const float *m2, int n)
         *(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;