summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ve_divx4.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-28 22:45:48 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-28 22:45:48 +0000
commit0f4f7e27cfb46b45c558a35f01f400f193e9bc7b (patch)
treef27ceba2bcee81f1e5c4bb9123a106a43b755891 /libmpcodecs/ve_divx4.c
parentf4e1671be7e80209be7bc9179c0d64cb1234af20 (diff)
downloadmpv-0f4f7e27cfb46b45c558a35f01f400f193e9bc7b.tar.bz2
mpv-0f4f7e27cfb46b45c558a35f01f400f193e9bc7b.tar.xz
mostly compiler warning fixes, some small bugfix
patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ve_divx4.c')
-rw-r--r--libmpcodecs/ve_divx4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/ve_divx4.c b/libmpcodecs/ve_divx4.c
index 9700857f89..447d2e57d4 100644
--- a/libmpcodecs/ve_divx4.c
+++ b/libmpcodecs/ve_divx4.c
@@ -24,6 +24,7 @@
extern int pass;
extern char* passtmpfile;
+extern void mencoder_write_chunk(aviwrite_stream_t *s,int len,unsigned int flags);
#include <encore2.h>
@@ -195,7 +196,7 @@ static int vf_open(vf_instance_t *vf, char* args){
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;
mux_v->bih=malloc(sizeof(BITMAPINFOHEADER));
mux_v->bih->biSize=sizeof(BITMAPINFOHEADER);