Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
7126:d3fd5d568594 | 7127:1e47c2e7aa8e |
---|---|
15 #include "aviwrite.h" | 15 #include "aviwrite.h" |
16 | 16 |
17 #include "img_format.h" | 17 #include "img_format.h" |
18 #include "mp_image.h" | 18 #include "mp_image.h" |
19 #include "vf.h" | 19 #include "vf.h" |
20 | |
21 extern void mencoder_write_chunk(aviwrite_stream_t *s,int len,unsigned int flags); | |
20 | 22 |
21 //===========================================================================// | 23 //===========================================================================// |
22 | 24 |
23 #include "dll_init.h" | 25 #include "dll_init.h" |
24 | 26 |
81 vf->control=control; | 83 vf->control=control; |
82 vf->query_format=query_format; | 84 vf->query_format=query_format; |
83 vf->put_image=put_image; | 85 vf->put_image=put_image; |
84 vf->priv=malloc(sizeof(struct vf_priv_s)); | 86 vf->priv=malloc(sizeof(struct vf_priv_s)); |
85 memset(vf->priv,0,sizeof(struct vf_priv_s)); | 87 memset(vf->priv,0,sizeof(struct vf_priv_s)); |
86 vf->priv->mux=args; | 88 vf->priv->mux=(aviwrite_stream_t*)args; |
87 | 89 |
88 vfw_bih=malloc(sizeof(BITMAPINFOHEADER)); | 90 vfw_bih=malloc(sizeof(BITMAPINFOHEADER)); |
89 vfw_bih->biSize=sizeof(BITMAPINFOHEADER); | 91 vfw_bih->biSize=sizeof(BITMAPINFOHEADER); |
90 vfw_bih->biWidth=0; // FIXME ? | 92 vfw_bih->biWidth=0; // FIXME ? |
91 vfw_bih->biHeight=0; | 93 vfw_bih->biHeight=0; |