[MPlayer-dev-eng] [PATCH] Remove unused query_format from harddup?

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Apr 29 12:11:37 CEST 2007


Hello,
query_format is not used in vf_harddup.
Attached patch only places it under #if 0 avoid confusion and compiler
warnings.
Say if you think it should be removed or enabled instead.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/vf_harddup.c
===================================================================
--- libmpcodecs/vf_harddup.c	(revision 23169)
+++ libmpcodecs/vf_harddup.c	(working copy)
@@ -52,6 +52,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 */
@@ -63,6 +64,7 @@
 	}
 	return 0;
 }
+#endif
 
 static void uninit(struct vf_instance_s* vf)
 {


More information about the MPlayer-dev-eng mailing list