diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-29 19:19:31 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-29 19:19:31 +0000 |
commit | 19bfd0d791691a033aacea744587ab38b44e6af4 (patch) | |
tree | b0b36dabcf68bfdb99fac3c225d9806e9f92ad7b /libmpcodecs/ve_vfw.c | |
parent | 0722c4d0a5ae6870d9bbe84a07e32493a74c05cb (diff) | |
download | mpv-19bfd0d791691a033aacea744587ab38b44e6af4.tar.bz2 mpv-19bfd0d791691a033aacea744587ab38b44e6af4.tar.xz |
warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7558 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ve_vfw.c')
-rw-r--r-- | libmpcodecs/ve_vfw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ve_vfw.c b/libmpcodecs/ve_vfw.c index eaf1c97446..b97845d14d 100644 --- a/libmpcodecs/ve_vfw.c +++ b/libmpcodecs/ve_vfw.c @@ -42,7 +42,7 @@ struct vf_priv_s { BITMAPINFOHEADER* bih; }; -static int encoder_hic=0; +static HIC encoder_hic; static void* encoder_buf=NULL; static int encoder_buf_size=0; static int encoder_frameno=0; @@ -62,7 +62,7 @@ static BITMAPINFOHEADER* vfw_open_encoder(char *dll_name, BITMAPINFOHEADER *inpu // output_bih->biSize = sizeof(BITMAPINFOHEADER); // encoder_hic = ICOpen( 0x63646976, out_fourcc, ICMODE_COMPRESS); - encoder_hic = ICOpen( dll_name, out_fourcc, ICMODE_COMPRESS); + encoder_hic = ICOpen( (long) dll_name, out_fourcc, ICMODE_COMPRESS); if(!encoder_hic){ mp_msg(MSGT_WIN32,MSGL_ERR,"ICOpen failed! unknown codec / wrong parameters?\n"); return NULL; |