comparison libmpcodecs/vf_swapuv.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 0f1b5b68af32
children a972c1a4a012
comparison
equal deleted inserted replaced
30637:0947ead7e81b 30638:a7b908875c14
85 return vf_next_query_format(vf, fmt); 85 return vf_next_query_format(vf, fmt);
86 } 86 }
87 return 0; 87 return 0;
88 } 88 }
89 89
90 static int open(vf_instance_t *vf, char* args){ 90 static int vf_open(vf_instance_t *vf, char *args){
91 vf->put_image=put_image; 91 vf->put_image=put_image;
92 vf->get_image=get_image; 92 vf->get_image=get_image;
93 vf->query_format=query_format; 93 vf->query_format=query_format;
94 return 1; 94 return 1;
95 } 95 }
97 const vf_info_t vf_info_swapuv = { 97 const vf_info_t vf_info_swapuv = {
98 "UV swapper", 98 "UV swapper",
99 "swapuv", 99 "swapuv",
100 "Michael Niedermayer", 100 "Michael Niedermayer",
101 "", 101 "",
102 open, 102 vf_open,
103 NULL 103 NULL
104 }; 104 };
105 105
106 //===========================================================================// 106 //===========================================================================//