Mercurial > mplayer.hg
comparison libvo/vo_null.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 | 0f1b5b68af32 |
children | 0a39f8762b97 |
comparison
equal
deleted
inserted
replaced
33304:d63bf64a2094 | 33305:ddb45e9443ec |
---|---|
96 return ENOSYS; | 96 return ENOSYS; |
97 } | 97 } |
98 return 0; | 98 return 0; |
99 } | 99 } |
100 | 100 |
101 static int control(uint32_t request, void *data, ...) | 101 static int control(uint32_t request, void *data) |
102 { | 102 { |
103 switch (request) { | 103 switch (request) { |
104 case VOCTRL_QUERY_FORMAT: | 104 case VOCTRL_QUERY_FORMAT: |
105 return query_format(*((uint32_t*)data)); | 105 return query_format(*((uint32_t*)data)); |
106 } | 106 } |