diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-10 22:18:32 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-10 22:18:32 +0000 |
commit | c7944423a3152cf731f8d7f18f1989d59ccfc935 (patch) | |
tree | 1ba4d67aaa3179ed1d6346f09f12411298f0bcb1 /libmpcodecs/ve_vfw.c | |
parent | 52e890ea55c5eea5daeefcea8b81a346d67e65db (diff) | |
download | mpv-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/ve_vfw.c')
-rw-r--r-- | libmpcodecs/ve_vfw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/ve_vfw.c b/libmpcodecs/ve_vfw.c index 1ffceaec37..d13f82ad8e 100644 --- a/libmpcodecs/ve_vfw.c +++ b/libmpcodecs/ve_vfw.c @@ -238,12 +238,13 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){ 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){ long flags=0; int ret; // flip_upside_down(vo_image_ptr,vo_image_ptr,3*vo_w,vo_h); // dirty hack ret=vfw_encode_frame(mux_v->bih, mux_v->buffer, vfw_bih, mpi->planes[0], &flags, 10000); mencoder_write_chunk(mux_v,mux_v->bih->biSizeImage,flags); + return 1; } //===========================================================================// |