changeset 24603:4d4c5efcfdb0

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
author diego
date Wed, 26 Sep 2007 22:48:59 +0000
parents a767a981c983
children 46bafd35bc5c
files libmpcodecs/vf_pullup.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
 {