Mercurial > mplayer.hg
comparison libvo/vo_gl2.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 | 706871635af7 |
comparison
equal
deleted
inserted
replaced
33304:d63bf64a2094 | 33305:ddb45e9443ec |
---|---|
883 err_out: | 883 err_out: |
884 uninit(); | 884 uninit(); |
885 return -1; | 885 return -1; |
886 } | 886 } |
887 | 887 |
888 static int control(uint32_t request, void *data, ...) | 888 static int control(uint32_t request, void *data) |
889 { | 889 { |
890 switch (request) { | 890 switch (request) { |
891 case VOCTRL_PAUSE: | 891 case VOCTRL_PAUSE: |
892 case VOCTRL_RESUME: | 892 case VOCTRL_RESUME: |
893 int_pause = (request == VOCTRL_PAUSE); | 893 int_pause = (request == VOCTRL_PAUSE); |