Mercurial > mplayer.hg
comparison libmpcodecs/vf_il.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 |
---|---|
117 if(pos && pos<max) fp->interleave=1; | 117 if(pos && pos<max) fp->interleave=1; |
118 pos= strchr(args, 'd'); | 118 pos= strchr(args, 'd'); |
119 if(pos && pos<max) fp->interleave=-1; | 119 if(pos && pos<max) fp->interleave=-1; |
120 } | 120 } |
121 | 121 |
122 static int open(vf_instance_t *vf, char* args){ | 122 static int vf_open(vf_instance_t *vf, char *args){ |
123 | 123 |
124 vf->put_image=put_image; | 124 vf->put_image=put_image; |
125 // vf->get_image=get_image; | 125 // vf->get_image=get_image; |
126 vf->priv=malloc(sizeof(struct vf_priv_s)); | 126 vf->priv=malloc(sizeof(struct vf_priv_s)); |
127 memset(vf->priv, 0, sizeof(struct vf_priv_s)); | 127 memset(vf->priv, 0, sizeof(struct vf_priv_s)); |
139 const vf_info_t vf_info_il = { | 139 const vf_info_t vf_info_il = { |
140 "(de)interleave", | 140 "(de)interleave", |
141 "il", | 141 "il", |
142 "Michael Niedermayer", | 142 "Michael Niedermayer", |
143 "", | 143 "", |
144 open, | 144 vf_open, |
145 NULL | 145 NULL |
146 }; | 146 }; |
147 | 147 |
148 //===========================================================================// | 148 //===========================================================================// |