From 077c9025bf0c279adbc578488c8a2c12d52a9fc7 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 1 Jul 2010 20:52:17 +0000 Subject: vf_geq: Fix function prototypes to match the required type. Fixes "initialization from incompatible pointer type" warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31609 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_geq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmpcodecs/vf_geq.c b/libmpcodecs/vf_geq.c index d783c5868c..b75806731f 100644 --- a/libmpcodecs/vf_geq.c +++ b/libmpcodecs/vf_geq.c @@ -66,15 +66,15 @@ static inline double getpix(struct vf_instance *vf, double x, double y, int plan //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); } -- cgit v1.2.3