Mercurial > mplayer.hg
comparison libvo/vo_directx.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 | 899d817e56fc |
children | 8e70a224c411 |
comparison
equal
deleted
inserted
replaced
33304:d63bf64a2094 | 33305:ddb45e9443ec |
---|---|
1473 // printf("\n*** %s = %d\n", what, *value); | 1473 // printf("\n*** %s = %d\n", what, *value); |
1474 | 1474 |
1475 return r; | 1475 return r; |
1476 } | 1476 } |
1477 | 1477 |
1478 static int control(uint32_t request, void *data, ...) | 1478 static int control(uint32_t request, void *data) |
1479 { | 1479 { |
1480 switch (request) { | 1480 switch (request) { |
1481 | 1481 |
1482 case VOCTRL_GET_IMAGE: | 1482 case VOCTRL_GET_IMAGE: |
1483 return get_image(data); | 1483 return get_image(data); |