diff libmpcodecs/vf_rectangle.c @ 7368:a894e99c1e51

changing return type of put_image void->int
author arpi
date Tue, 10 Sep 2002 22:18:32 +0000
parents 1e47c2e7aa8e
children d414735695ea
line wrap: on
line diff
--- a/libmpcodecs/vf_rectangle.c	Tue Sep 10 22:10:06 2002 +0000
+++ b/libmpcodecs/vf_rectangle.c	Tue Sep 10 22:18:32 2002 +0000
@@ -62,7 +62,7 @@
     return vf_next_control(vf, request, data);
     return 0;
 }
-static void
+static int
 put_image(struct vf_instance_s* vf, mp_image_t* mpi){
     mp_image_t* dmpi;
     unsigned int bpp;
@@ -136,7 +136,7 @@
 	    p += dmpi->stride[0];
 	}
     }
-    vf_next_put_image(vf, dmpi);
+    return vf_next_put_image(vf, dmpi);
 }
 
 static int