summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-01 20:52:17 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:19 +0200
commit077c9025bf0c279adbc578488c8a2c12d52a9fc7 (patch)
tree0739abf839c73e8a566bbadbdd6c4714dc317957 /libmpcodecs
parentcaf32aef3f819236900179ef682077bef6af406f (diff)
downloadmpv-077c9025bf0c279adbc578488c8a2c12d52a9fc7.tar.bz2
mpv-077c9025bf0c279adbc578488c8a2c12d52a9fc7.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_geq.c6
1 files 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);
}