# HG changeset patch # User diego # Date 1190846939 0 # Node ID 4d4c5efcfdb0ccd20d49f499841393a61702924c # Parent a767a981c98321b80862c5e549171faef7069344 Disable buggy unused function via #if 0, blessed by Rich. Fixes warning: vf_pullup.c: At top level: vf_pullup.c:82: warning: 'get_image' defined but not used diff -r a767a981c983 -r 4d4c5efcfdb0 libmpcodecs/vf_pullup.c --- a/libmpcodecs/vf_pullup.c Wed Sep 26 22:43:38 2007 +0000 +++ b/libmpcodecs/vf_pullup.c Wed Sep 26 22:48:59 2007 +0000 @@ -78,6 +78,7 @@ } +#if 0 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi) { struct pullup_context *c = vf->priv->ctx; @@ -102,6 +103,7 @@ mpi->flags |= MP_IMGFLAG_DIRECT; mpi->flags &= ~MP_IMGFLAG_DRAW_CALLBACK; } +#endif static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts) {