diff libmpcodecs/vf_yuy2.c @ 7368:a894e99c1e51

changing return type of put_image void->int
author arpi
date Tue, 10 Sep 2002 22:18:32 +0000
parents 21d6837f5d95
children e9a2af584986
line wrap: on
line diff
--- a/libmpcodecs/vf_yuy2.c	Tue Sep 10 22:10:06 2002 +0000
+++ b/libmpcodecs/vf_yuy2.c	Tue Sep 10 22:18:32 2002 +0000
@@ -27,7 +27,7 @@
     return vf_next_config(vf,width,height,d_width,d_height,flags,IMGFMT_YUY2);
 }
 
-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;
 
     // hope we'll get DR buffer:
@@ -45,7 +45,7 @@
     dmpi->qscale=mpi->qscale;
     dmpi->qstride=mpi->qstride;
     
-    vf_next_put_image(vf,dmpi);
+    return vf_next_put_image(vf,dmpi);
 }
 
 //===========================================================================//