summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_cropdetect.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /libmpcodecs/vf_cropdetect.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
downloadmpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2
mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz
Remove trailing whitespace from most files
Diffstat (limited to 'libmpcodecs/vf_cropdetect.c')
-rw-r--r--libmpcodecs/vf_cropdetect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_cropdetect.c b/libmpcodecs/vf_cropdetect.c
index e81b46c32a..e91f537a04 100644
--- a/libmpcodecs/vf_cropdetect.c
+++ b/libmpcodecs/vf_cropdetect.c
@@ -73,7 +73,7 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts){
dmpi->height=mpi->height;
if(++vf->priv->fno>2){ // ignore first 2 frames - they may be empty
-
+
for(y=0;y<vf->priv->y1;y++){
if(checkline(mpi->planes[0]+mpi->stride[0]*y,bpp,mpi->w,bpp)>vf->priv->limit){
vf->priv->y1=y;
@@ -106,7 +106,7 @@ if(++vf->priv->fno>2){ // ignore first 2 frames - they may be empty
// make sure they stay rounded!
x=(vf->priv->x1+1)&(~1);
y=(vf->priv->y1+1)&(~1);
-
+
w = vf->priv->x2 - x + 1;
h = vf->priv->y2 - y + 1;