changeset 31543:59a6592b57b7

Fix function prototypes to match the required type. Fixes "initialization from incompatible pointer type" warnings.
author reimar
date Thu, 01 Jul 2010 20:52:17 +0000
parents 683818e5430d
children bce9cacbdeb7
files libmpcodecs/vf_geq.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }