# HG changeset patch # User reimar # Date 1278017537 0 # Node ID 59a6592b57b78c127b3e6a59c43b3b638bb9d9af # Parent 683818e5430da6f55a1e36e92271a61a7d5ae2b3 Fix function prototypes to match the required type. Fixes "initialization from incompatible pointer type" warnings. diff -r 683818e5430d -r 59a6592b57b7 libmpcodecs/vf_geq.c --- a/libmpcodecs/vf_geq.c Thu Jul 01 20:49:35 2010 +0000 +++ b/libmpcodecs/vf_geq.c Thu Jul 01 20:52:17 2010 +0000 @@ -66,15 +66,15 @@ //FIXME cubic interpolate //FIXME keep the last few frames -static double lum(struct vf_instance *vf, double x, double y){ +static double lum(void *vf, double x, double y){ return getpix(vf, x, y, 0); } -static double cb(struct vf_instance *vf, double x, double y){ +static double cb(void *vf, double x, double y){ return getpix(vf, x, y, 1); } -static double cr(struct vf_instance *vf, double x, double y){ +static double cr(void *vf, double x, double y){ return getpix(vf, x, y, 2); }