changeset 24605:8a6f80593529

Disable unused query_format functions for now until they are investigated and properly used/fixed. Fixes warnings: vf_softskip.c:50: warning: 'query_format' defined but not used vf_tfields.c:433: warning: 'query_format' defined but not used vf_telecine.c:91: warning: 'query_format' defined but not used vf_telecine.c:105: warning: 'config' defined but not used
author diego
date Wed, 26 Sep 2007 23:00:43 +0000
parents 46bafd35bc5c
children a8ccd8352d85
files libmpcodecs/vf_softskip.c libmpcodecs/vf_telecine.c libmpcodecs/vf_tfields.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_softskip.c	Wed Sep 26 22:52:28 2007 +0000
+++ b/libmpcodecs/vf_softskip.c	Wed Sep 26 23:00:43 2007 +0000
@@ -46,6 +46,7 @@
 	return vf_next_control(vf, request, data);
 }
 
+#if 0
 static int query_format(struct vf_instance_s* vf, unsigned int fmt)
 {
 	/* FIXME - figure out which other formats work */
@@ -57,6 +58,7 @@
 	}
 	return 0;
 }
+#endif
 
 static void uninit(struct vf_instance_s* vf)
 {
--- a/libmpcodecs/vf_telecine.c	Wed Sep 26 22:52:28 2007 +0000
+++ b/libmpcodecs/vf_telecine.c	Wed Sep 26 23:00:43 2007 +0000
@@ -87,6 +87,7 @@
 	return 0;
 }
 
+#if 0
 static int query_format(struct vf_instance_s* vf, unsigned int fmt)
 {
 	/* FIXME - figure out which other formats work */
@@ -105,6 +106,7 @@
 {
 	return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
 }
+#endif
 
 static void uninit(struct vf_instance_s* vf)
 {
--- a/libmpcodecs/vf_tfields.c	Wed Sep 26 22:52:28 2007 +0000
+++ b/libmpcodecs/vf_tfields.c	Wed Sep 26 23:00:43 2007 +0000
@@ -429,6 +429,7 @@
 	return ret;
 }
 
+#if 0
 static int query_format(struct vf_instance_s* vf, unsigned int fmt)
 {
 	/* FIXME - figure out which other formats work */
@@ -440,6 +441,7 @@
 	}
 	return 0;
 }
+#endif
 
 static int config(struct vf_instance_s* vf,
         int width, int height, int d_width, int d_height,