1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00

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
This commit is contained in:
reimar 2010-07-01 20:52:17 +00:00 committed by Uoti Urpala
parent caf32aef3f
commit 077c9025bf

View File

@ -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);
}