diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /libmpcodecs/vf_fil.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'libmpcodecs/vf_fil.c')
-rw-r--r-- | libmpcodecs/vf_fil.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpcodecs/vf_fil.c b/libmpcodecs/vf_fil.c index 5e36c4774d..089ec29409 100644 --- a/libmpcodecs/vf_fil.c +++ b/libmpcodecs/vf_fil.c @@ -27,9 +27,9 @@ static int config(struct vf_instance* vf, pixel_stride= mpi->stride[0]; else pixel_stride= 8*mpi->stride[0] / mpi->bpp; - -#endif - + +#endif + if(vf->priv->interleave){ vf->priv->height= 2*height; vf->priv->width= width - (pixel_stride/2); @@ -54,7 +54,7 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts){ vf->dmpi=vf_get_image(vf->next,mpi->imgfmt, MP_IMGTYPE_EXPORT, MP_IMGFLAG_ACCEPT_STRIDE, vf->priv->width, vf->priv->height); - + // set up mpi as a double-stride image of dmpi: vf->dmpi->planes[0]=mpi->planes[0]; vf->dmpi->stride[0]=(mpi->stride[0]*vf->priv->stridefactor)>>1; @@ -65,7 +65,7 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts){ vf->dmpi->stride[2]=(mpi->stride[2]*vf->priv->stridefactor)>>1; } else vf->dmpi->planes[1]=mpi->planes[1]; // passthru bgr8 palette!!! - + return vf_next_put_image(vf,vf->dmpi, pts); } |