mirror of https://github.com/mpv-player/mpv
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:
parent
caf32aef3f
commit
077c9025bf
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue