comparison libvo/vo_tdfx_vid.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 32725ca88fed
children 21d2ff801b8f
comparison
equal deleted inserted replaced
33304:d63bf64a2094 33305:ddb45e9443ec
642 mp_msg(MSGT_VO, MSGL_V, "tdfx_vid: set colorkey failed\n"); 642 mp_msg(MSGT_VO, MSGL_V, "tdfx_vid: set colorkey failed\n");
643 643
644 return VO_TRUE; 644 return VO_TRUE;
645 } 645 }
646 646
647 static int control(uint32_t request, void *data, ...) 647 static int control(uint32_t request, void *data)
648 { 648 {
649 switch (request) { 649 switch (request) {
650 case VOCTRL_QUERY_FORMAT: 650 case VOCTRL_QUERY_FORMAT:
651 return query_format(*((uint32_t*)data)); 651 return query_format(*((uint32_t*)data));
652 case VOCTRL_GET_IMAGE: 652 case VOCTRL_GET_IMAGE: