summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_divtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_divtc.c')
-rw-r--r--video/filter/vf_divtc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/video/filter/vf_divtc.c b/video/filter/vf_divtc.c
index 662106274c..e93950ff6f 100644
--- a/video/filter/vf_divtc.c
+++ b/video/filter/vf_divtc.c
@@ -50,7 +50,7 @@ struct vf_priv_s
struct mp_image *buffer;
};
-static int diff_C(unsigned char *old, unsigned char *new, int os, int ns)
+static int diff(unsigned char *old, unsigned char *new, int os, int ns)
{
int x, y, d=0;
@@ -61,8 +61,6 @@ static int diff_C(unsigned char *old, unsigned char *new, int os, int ns)
return d;
}
-static int (*diff)(unsigned char *, unsigned char *, int, int);
-
static int diff_plane(unsigned char *old, unsigned char *new,
int w, int h, int os, int ns, int arg)
{
@@ -598,8 +596,6 @@ static int vf_open(vf_instance_t *vf)
if(!(p->history=calloc(sizeof *p->history, p->window)))
abort();
- diff = diff_C;
-
vf_detc_init_pts_buf(&p->ptsbuf);
return 1;
fail: