From 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 7 Jul 2009 02:26:13 +0300 Subject: Remove trailing whitespace from most files --- libmpcodecs/vf_hue.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libmpcodecs/vf_hue.c') diff --git a/libmpcodecs/vf_hue.c b/libmpcodecs/vf_hue.c index 32d2c46680..a289543c48 100644 --- a/libmpcodecs/vf_hue.c +++ b/libmpcodecs/vf_hue.c @@ -65,7 +65,7 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts) dmpi=vf_get_image(vf->next, mpi->imgfmt, MP_IMGTYPE_EXPORT, 0, mpi->w, mpi->h); - + dmpi->planes[0] = mpi->planes[0]; dmpi->stride[0] = mpi->stride[0]; dmpi->stride[1] = mpi->stride[1]; @@ -75,7 +75,7 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts) vf->priv->buf[0] = malloc(mpi->stride[1]*mpi->h >> mpi->chroma_y_shift); vf->priv->buf[1] = malloc(mpi->stride[2]*mpi->h >> mpi->chroma_y_shift); } - + if (vf->priv->hue == 0 && vf->priv->saturation == 1){ dmpi->planes[1] = mpi->planes[1]; dmpi->planes[2] = mpi->planes[2]; @@ -85,7 +85,7 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts) process(dmpi->planes[1], dmpi->planes[2], mpi->planes[1], mpi->planes[2], dmpi->stride[1],mpi->stride[1], - mpi->w>> mpi->chroma_x_shift, mpi->h>> mpi->chroma_y_shift, + mpi->w>> mpi->chroma_x_shift, mpi->h>> mpi->chroma_y_shift, vf->priv->hue, vf->priv->saturation); } @@ -151,7 +151,7 @@ static int open(vf_instance_t *vf, char* args) vf->query_format=query_format; vf->put_image=put_image; vf->uninit=uninit; - + if(!vf->priv) { vf->priv = malloc(sizeof(struct vf_priv_s)); memset(vf->priv, 0, sizeof(struct vf_priv_s)); @@ -185,4 +185,3 @@ const vf_info_t vf_info_hue = { open, &vf_opts }; - -- cgit v1.2.3