# HG changeset patch # User diego # Date 1227441577 0 # Node ID 6e485d467cfe3307a88e625bcb54281d9dc75d84 # Parent 4681b6303443f190d4d2e3d22b98f78fc35c4e76 cosmetics: consistent function declarations. diff -r 4681b6303443 -r 6e485d467cfe libmpcodecs/vf_screenshot.c --- a/libmpcodecs/vf_screenshot.c Sun Nov 23 11:58:11 2008 +0000 +++ b/libmpcodecs/vf_screenshot.c Sun Nov 23 11:59:37 2008 +0000 @@ -121,7 +121,8 @@ sws_scale_ordered(priv->ctx, mpi->planes, mpi->stride, 0, priv->dh, dst, dst_stride); } -static void start_slice(struct vf_instance_s* vf, mp_image_t *mpi){ +static void start_slice(struct vf_instance_s* vf, mp_image_t *mpi) +{ vf->dmpi=vf_get_image(vf->next,mpi->imgfmt, mpi->type, mpi->flags, mpi->width, mpi->height); if (vf->priv->shot) { @@ -132,8 +133,9 @@ } -static void draw_slice(struct vf_instance_s* vf, - unsigned char** src, int* stride, int w,int h, int x, int y){ +static void draw_slice(struct vf_instance_s* vf, unsigned char** src, + int* stride, int w,int h, int x, int y) +{ if (vf->priv->store_slices) { uint8_t *dst[3]; int dst_stride[3]; @@ -146,7 +148,8 @@ vf_next_draw_slice(vf,src,stride,w,h,x,y); } -static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){ +static void get_image(struct vf_instance_s* vf, mp_image_t *mpi) +{ // FIXME: should vf.c really call get_image when using slices?? if (mpi->flags & MP_IMGFLAG_DRAW_CALLBACK) return;