Mercurial > mplayer.hg
diff libmpcodecs/ve_vfw.c @ 7127:1e47c2e7aa8e
mostly compiler warning fixes, some small bugfix
patch by Dominik Mierzejewski <dominik@rangers.eu.org>
author | arpi |
---|---|
date | Wed, 28 Aug 2002 22:45:48 +0000 |
parents | 6aa4fc282fc7 |
children | 1e84415320d8 |
line wrap: on
line diff
--- a/libmpcodecs/ve_vfw.c Wed Aug 28 22:02:38 2002 +0000 +++ b/libmpcodecs/ve_vfw.c Wed Aug 28 22:45:48 2002 +0000 @@ -18,6 +18,8 @@ #include "mp_image.h" #include "vf.h" +extern void mencoder_write_chunk(aviwrite_stream_t *s,int len,unsigned int flags); + //===========================================================================// #include "dll_init.h" @@ -83,7 +85,7 @@ vf->put_image=put_image; vf->priv=malloc(sizeof(struct vf_priv_s)); memset(vf->priv,0,sizeof(struct vf_priv_s)); - vf->priv->mux=args; + vf->priv->mux=(aviwrite_stream_t*)args; vfw_bih=malloc(sizeof(BITMAPINFOHEADER)); vfw_bih->biSize=sizeof(BITMAPINFOHEADER);