Mercurial > mplayer.hg
comparison libmpcodecs/vf_rotate.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 | bbb6ebec87a0 |
children | a972c1a4a012 |
comparison
equal
deleted
inserted
replaced
30637:0947ead7e81b | 30638:a7b908875c14 |
---|---|
129 return vf_next_query_format(vf, fmt); | 129 return vf_next_query_format(vf, fmt); |
130 } | 130 } |
131 return 0; | 131 return 0; |
132 } | 132 } |
133 | 133 |
134 static int open(vf_instance_t *vf, char* args){ | 134 static int vf_open(vf_instance_t *vf, char *args){ |
135 vf->config=config; | 135 vf->config=config; |
136 vf->put_image=put_image; | 136 vf->put_image=put_image; |
137 vf->query_format=query_format; | 137 vf->query_format=query_format; |
138 vf->priv=malloc(sizeof(struct vf_priv_s)); | 138 vf->priv=malloc(sizeof(struct vf_priv_s)); |
139 vf->priv->direction=args?atoi(args):0; | 139 vf->priv->direction=args?atoi(args):0; |
143 const vf_info_t vf_info_rotate = { | 143 const vf_info_t vf_info_rotate = { |
144 "rotate", | 144 "rotate", |
145 "rotate", | 145 "rotate", |
146 "A'rpi", | 146 "A'rpi", |
147 "", | 147 "", |
148 open, | 148 vf_open, |
149 NULL | 149 NULL |
150 }; | 150 }; |
151 | 151 |
152 //===========================================================================// | 152 //===========================================================================// |