summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_cropdetect.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-10 22:18:32 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-10 22:18:32 +0000
commitc7944423a3152cf731f8d7f18f1989d59ccfc935 (patch)
tree1ba4d67aaa3179ed1d6346f09f12411298f0bcb1 /libmpcodecs/vf_cropdetect.c
parent52e890ea55c5eea5daeefcea8b81a346d67e65db (diff)
downloadmpv-c7944423a3152cf731f8d7f18f1989d59ccfc935.tar.bz2
mpv-c7944423a3152cf731f8d7f18f1989d59ccfc935.tar.xz
changing return type of put_image void->int
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7369 b3059339-0415-0410-9bf9-f77b7e298cf2
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 c6f3a6d313..f8b63cf5ba 100644
--- a/libmpcodecs/vf_cropdetect.c
+++ b/libmpcodecs/vf_cropdetect.c
@@ -55,7 +55,7 @@ static int config(struct vf_instance_s* vf,
return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
}
-static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
+static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
mp_image_t *dmpi;
int bpp=mpi->bpp/8;
int x,y;
@@ -115,7 +115,7 @@ if(++vf->priv->fno>2){ // ignore first 2 frames - they may be empty
}
- vf_next_put_image(vf,dmpi);
+ return vf_next_put_image(vf,dmpi);
}
//===========================================================================//