summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-29 17:15:55 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-29 17:20:44 +0300
commit1888e57af7e1ce51517ad9bdc2d201eaf84a98d2 (patch)
treef1c87c4a44a38ee5d2adc35719beec3c3213c723 /libmpcodecs/vf.c
parentba5f104836b487d70b0ab107fb7a1325566504ad (diff)
downloadmpv-1888e57af7e1ce51517ad9bdc2d201eaf84a98d2.tar.bz2
mpv-1888e57af7e1ce51517ad9bdc2d201eaf84a98d2.tar.xz
cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"
Change 'struct vf_instance' pointer arguments to more standard style as in the subject. Also some other minor formatting fixes. Patch by Diego Biurrun.
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r--libmpcodecs/vf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index 0f2dcc75d2..98688793e8 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -435,7 +435,7 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype,
//============================================================================
// By default vf doesn't accept MPEGPES
-static int vf_default_query_format(struct vf_instance* vf, unsigned int fmt){
+static int vf_default_query_format(struct vf_instance *vf, unsigned int fmt){
if(fmt == IMGFMT_MPEGPES) return 0;
return vf_next_query_format(vf,fmt);
}
@@ -631,7 +631,7 @@ int vf_output_queued_frame(vf_instance_t *vf)
* are unchanged, and returns either success or error.
*
*/
-int vf_config_wrapper(struct vf_instance* vf,
+int vf_config_wrapper(struct vf_instance *vf,
int width, int height, int d_width, int d_height,
unsigned int flags, unsigned int outfmt)
{
@@ -654,7 +654,7 @@ int vf_config_wrapper(struct vf_instance* vf,
return r;
}
-int vf_next_config(struct vf_instance* vf,
+int vf_next_config(struct vf_instance *vf,
int width, int height, int d_width, int d_height,
unsigned int voflags, unsigned int outfmt){
struct MPOpts *opts = vf->opts;
@@ -687,21 +687,21 @@ int vf_next_config(struct vf_instance* vf,
return vf_config_wrapper(vf->next,width,height,d_width,d_height,voflags,outfmt);
}
-int vf_next_control(struct vf_instance* vf, int request, void* data){
+int vf_next_control(struct vf_instance *vf, int request, void* data){
return vf->next->control(vf->next,request,data);
}
-int vf_next_query_format(struct vf_instance* vf, unsigned int fmt){
+int vf_next_query_format(struct vf_instance *vf, unsigned int fmt){
int flags=vf->next->query_format(vf->next,fmt);
if(flags) flags|=vf->default_caps;
return flags;
}
-int vf_next_put_image(struct vf_instance* vf,mp_image_t *mpi, double pts){
+int vf_next_put_image(struct vf_instance *vf,mp_image_t *mpi, double pts){
return vf->next->put_image(vf->next,mpi, pts);
}
-void vf_next_draw_slice(struct vf_instance* vf,unsigned char** src, int * stride,int w, int h, int x, int y){
+void vf_next_draw_slice(struct vf_instance *vf,unsigned char** src, int * stride,int w, int h, int x, int y){
if (vf->next->draw_slice) {
vf->next->draw_slice(vf->next,src,stride,w,h,x,y);
return;