diff libmpcodecs/ve_libdv.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 f296ff05bcd0
line wrap: on
line diff
--- a/libmpcodecs/ve_libdv.c	Tue Sep 10 22:10:06 2002 +0000
+++ b/libmpcodecs/ve_libdv.c	Tue Sep 10 22:18:32 2002 +0000
@@ -72,13 +72,14 @@
     return 0;
 }
 
-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){
 
     dv_encode_full_frame(vf->priv->enc, mpi->planes, 
 	(mpi->flags&MP_IMGFLAG_YUV) ? e_dv_color_yuv : e_dv_color_rgb,
 	mux_v->buffer);
 
     mencoder_write_chunk(mux_v, 480 * (vf->priv->enc->isPAL ? 300 : 250) , 0x10);
+    return 1;
 }
 
 //===========================================================================//