comparison libmpcodecs/vf_vo.c @ 30638:a7b908875c14

Rename open() vf initialization function to vf_open(). This avoids clashes with fcntl.h under certain circumstances.
author diego
date Sun, 21 Feb 2010 13:40:49 +0000
parents 595410bd114e
children a972c1a4a012
comparison
equal deleted inserted replaced
30637:0947ead7e81b 30638:a7b908875c14
237 free(vf->priv); 237 free(vf->priv);
238 } 238 }
239 } 239 }
240 //===========================================================================// 240 //===========================================================================//
241 241
242 static int open(vf_instance_t *vf, char* args){ 242 static int vf_open(vf_instance_t *vf, char *args){
243 vf->config=config; 243 vf->config=config;
244 vf->control=control; 244 vf->control=control;
245 vf->query_format=query_format; 245 vf->query_format=query_format;
246 vf->get_image=get_image; 246 vf->get_image=get_image;
247 vf->put_image=put_image; 247 vf->put_image=put_image;
258 const vf_info_t vf_info_vo = { 258 const vf_info_t vf_info_vo = {
259 "libvo wrapper", 259 "libvo wrapper",
260 "vo", 260 "vo",
261 "A'rpi", 261 "A'rpi",
262 "for internal use", 262 "for internal use",
263 open, 263 vf_open,
264 NULL 264 NULL
265 }; 265 };
266 266
267 //===========================================================================// 267 //===========================================================================//