[Mplayer-cvslog] CVS: main/libmpcodecs vf_il.c,1.2,1.3

Arpi of Ize arpi at mplayerhq.hu
Sat Nov 2 18:43:45 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv21578

Modified Files:
	vf_il.c 
Log Message:
removed dummy config(), query_format()


Index: vf_il.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_il.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vf_il.c	31 Oct 2002 22:47:35 -0000	1.2
+++ vf_il.c	2 Nov 2002 17:43:42 -0000	1.3
@@ -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));
 	




More information about the MPlayer-cvslog mailing list