changeset 8051:1b0d3175ef5f

removed dummy config(), query_format()
author arpi
date Sat, 02 Nov 2002 17:43:42 +0000
parents 5f630596d004
children bab84c42ee57
files libmpcodecs/vf_il.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_il.c	Sat Nov 02 17:38:15 2002 +0000
+++ b/libmpcodecs/vf_il.c	Sat Nov 02 17:43:42 2002 +0000
@@ -47,17 +47,8 @@
 	FilterParam chromaParam;
 };
 
-
 /***************************************************************************/
 
-
-static int config(struct vf_instance_s* vf,
-        int width, int height, int d_width, int d_height,
-	unsigned int flags, unsigned int outfmt){
-
-	return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
-}
-
 static int interleave(uint8_t *dst, uint8_t *src, int w, int h, int dstStride, int srcStride, int interleave, int swap){
 	const int a= swap;
 	const int b= 1-a;
@@ -118,11 +109,6 @@
 
 //===========================================================================//
 
-static int query_format(struct vf_instance_s* vf, unsigned int fmt){
-	/* we support all formats :) */
-	return vf_next_query_format(vf, fmt); 
-}
-
 static void parse(FilterParam *fp, char* args){
 	char *pos;
 	char *max= strchr(args, ':');
@@ -140,10 +126,8 @@
 static int open(vf_instance_t *vf, char* args){
 	char *pos, *max;
 
-	vf->config=config;
 	vf->put_image=put_image;
 //	vf->get_image=get_image;
-	vf->query_format=query_format;
 	vf->priv=malloc(sizeof(struct vf_priv_s));
 	memset(vf->priv, 0, sizeof(struct vf_priv_s));