From 1888e57af7e1ce51517ad9bdc2d201eaf84a98d2 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 29 May 2010 17:15:55 +0300 Subject: 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. --- libmpcodecs/vf.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libmpcodecs/vf.c') 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; -- cgit v1.2.3