diff libvo/vo_png.c @ 33305:ddb45e9443ec

Remove the variable arguments from the libvo control() functions. No module uses the vaarg anymore. Also it is cleaner to provide pointer to specific structure than specify arguments via vaarg.
author iive
date Sat, 07 May 2011 10:59:11 +0000
parents f03a237a8d26
children f3d53cd55376
line wrap: on
line diff
--- a/libvo/vo_png.c	Sat May 07 10:44:57 2011 +0000
+++ b/libvo/vo_png.c	Sat May 07 10:59:11 2011 +0000
@@ -241,7 +241,7 @@
     return 0;
 }
 
-static int control(uint32_t request, void *data, ...)
+static int control(uint32_t request, void *data)
 {
   switch (request) {
   case VOCTRL_DRAW_IMAGE: