summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_pp.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_pp.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_pp.c')
-rw-r--r--libmpcodecs/vf_pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_pp.c b/libmpcodecs/vf_pp.c
index 6b5c005db0..490a38090c 100644
--- a/libmpcodecs/vf_pp.c
+++ b/libmpcodecs/vf_pp.c
@@ -67,7 +67,7 @@ static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
mpi->flags|=MP_IMGFLAG_DIRECT;
}
-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){
if(!(mpi->flags&MP_IMGFLAG_DIRECT)){
// no DR, so get a new image! hope we'll get DR buffer:
vf->priv->dmpi=vf_get_image(vf->next,vf->priv->outfmt,
@@ -87,7 +87,7 @@ static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
vf->priv->pp);
}
- vf_next_put_image(vf,vf->priv->dmpi);
+ return vf_next_put_image(vf,vf->priv->dmpi);
}
//===========================================================================//