Mercurial > mplayer.hg
diff libvo/vosub_vidix.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 | 96bd14d567b7 |
line wrap: on
line diff
--- a/libvo/vosub_vidix.c Sat May 07 10:44:57 2011 +0000 +++ b/libvo/vosub_vidix.c Sat May 07 10:59:11 2011 +0000 @@ -62,7 +62,7 @@ static vidix_fourcc_t vidix_fourcc; static vo_functions_t * vo_server; static vidix_yuv_t dstrides; -/*static uint32_t (*server_control)(uint32_t request, void *data, ...);*/ +/*static uint32_t (*server_control)(uint32_t request, void *data);*/ int vidix_start(void) { @@ -577,7 +577,7 @@ return VO_FALSE; } -uint32_t vidix_control(uint32_t request, void *data, ...) +uint32_t vidix_control(uint32_t request, void *data) { switch (request) { case VOCTRL_QUERY_FORMAT: @@ -665,7 +665,6 @@ } } return VO_NOTIMPL; - // WARNING: we drop extra parameters (...) here! // return server_control(request,data); //VO_NOTIMPL; }