Mercurial > mplayer.hg
comparison libvo/vo_png.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 | f03a237a8d26 |
children | f3d53cd55376 |
comparison
equal
deleted
inserted
replaced
33304:d63bf64a2094 | 33305:ddb45e9443ec |
---|---|
239 } | 239 } |
240 avctx->compression_level = z_compression; | 240 avctx->compression_level = z_compression; |
241 return 0; | 241 return 0; |
242 } | 242 } |
243 | 243 |
244 static int control(uint32_t request, void *data, ...) | 244 static int control(uint32_t request, void *data) |
245 { | 245 { |
246 switch (request) { | 246 switch (request) { |
247 case VOCTRL_DRAW_IMAGE: | 247 case VOCTRL_DRAW_IMAGE: |
248 return draw_image(data); | 248 return draw_image(data); |
249 case VOCTRL_QUERY_FORMAT: | 249 case VOCTRL_QUERY_FORMAT: |