# HG changeset patch # User diego # Date 1190847643 0 # Node ID 8a6f80593529250a305518106306408f3ce4fcbf # Parent 46bafd35bc5c6368aa0984294a0ad35377dfa4e1 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 diff -r 46bafd35bc5c -r 8a6f80593529 libmpcodecs/vf_softskip.c --- 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) { diff -r 46bafd35bc5c -r 8a6f80593529 libmpcodecs/vf_telecine.c --- 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) { diff -r 46bafd35bc5c -r 8a6f80593529 libmpcodecs/vf_tfields.c --- 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,