comparison libvo/vo_md5sum.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 6d0b010a2bb7
children fca8419c5f35
comparison
equal deleted inserted replaced
33304:d63bf64a2094 33305:ddb45e9443ec
257 } 257 }
258 } 258 }
259 259
260 /* ------------------------------------------------------------------------- */ 260 /* ------------------------------------------------------------------------- */
261 261
262 static int control(uint32_t request, void *data, ...) 262 static int control(uint32_t request, void *data)
263 { 263 {
264 switch (request) { 264 switch (request) {
265 case VOCTRL_QUERY_FORMAT: 265 case VOCTRL_QUERY_FORMAT:
266 return query_format(*((uint32_t*)data)); 266 return query_format(*((uint32_t*)data));
267 case VOCTRL_DRAW_IMAGE: 267 case VOCTRL_DRAW_IMAGE: