diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-23 11:59:37 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-23 11:59:37 +0000 |
commit | 0ad147ed5c2b622a4acbfa4f6c5fdd7bbb41f497 (patch) | |
tree | 7b12db0da7b134f3bc86fe63eb433b37caad7ca1 | |
parent | 9e2505a3f511e70afc8e6b6bb1a656950ab19778 (diff) |
cosmetics: consistent function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27982 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vf_screenshot.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index c546cee05c..bff57c0776 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -121,7 +121,8 @@ static void scale_image(struct vf_priv_s* priv, mp_image_t *mpi) 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 start_slice(struct vf_instance_s* vf, mp_image_t *mpi){ } -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 @@ static void draw_slice(struct vf_instance_s* vf, 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; |