Mercurial > mplayer.hg
diff libmpcodecs/ve_divx4.c @ 8585:27da710563c2
the long-waited MUXER layer, and new MPEG-PS muxer
patch by Andriy N. Gritsenko <andrej@lucky.net>
author | arpi |
---|---|
date | Fri, 27 Dec 2002 22:43:20 +0000 |
parents | 136e7e515764 |
children | c671e9adbe22 |
line wrap: on
line diff
--- a/libmpcodecs/ve_divx4.c Fri Dec 27 22:38:56 2002 +0000 +++ b/libmpcodecs/ve_divx4.c Fri Dec 27 22:43:20 2002 +0000 @@ -13,7 +13,7 @@ #include "demuxer.h" #include "stheader.h" -#include "aviwrite.h" +#include "muxer.h" #include "img_format.h" #include "mp_image.h" @@ -44,7 +44,7 @@ static int pass; extern char* passtmpfile; -extern void mencoder_write_chunk(aviwrite_stream_t *s,int len,unsigned int flags); +extern void mencoder_write_chunk(muxer_stream_t *s,int len,unsigned int flags); #include <encore2.h> @@ -96,7 +96,7 @@ }; struct vf_priv_s { - aviwrite_stream_t* mux; + muxer_stream_t* mux; ENC_RESULT enc_result; ENC_FRAME enc_frame; void* enc_handle; @@ -289,7 +289,7 @@ #endif vf->priv=malloc(sizeof(struct vf_priv_s)); memset(vf->priv,0,sizeof(struct vf_priv_s)); - vf->priv->mux=(aviwrite_stream_t*)args; + vf->priv->mux=(muxer_stream_t*)args; mux_v->bih=malloc(sizeof(BITMAPINFOHEADER)); mux_v->bih->biSize=sizeof(BITMAPINFOHEADER);