[MPlayer-cvslog] r31609 - trunk/libmpcodecs/vf_geq.c
reimar
subversion at mplayerhq.hu
Thu Jul 1 22:52:17 CEST 2010
Author: reimar
Date: Thu Jul 1 22:52:17 2010
New Revision: 31609
Log:
Fix function prototypes to match the required type.
Fixes "initialization from incompatible pointer type" warnings.
Modified:
trunk/libmpcodecs/vf_geq.c
Modified: trunk/libmpcodecs/vf_geq.c
==============================================================================
--- trunk/libmpcodecs/vf_geq.c Thu Jul 1 22:49:35 2010 (r31608)
+++ trunk/libmpcodecs/vf_geq.c Thu Jul 1 22:52:17 2010 (r31609)
@@ -66,15 +66,15 @@ static inline double getpix(struct vf_in
//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);
}
More information about the MPlayer-cvslog
mailing list