diff libmpcodecs/ve_vfw.c @ 7557:f296ff05bcd0

warning fixes
author arpi
date Sun, 29 Sep 2002 19:19:31 +0000
parents 2357ee501582
children 9fc45fe0d444
line wrap: on
line diff
--- a/libmpcodecs/ve_vfw.c	Sun Sep 29 19:00:43 2002 +0000
+++ b/libmpcodecs/ve_vfw.c	Sun Sep 29 19:19:31 2002 +0000
@@ -42,7 +42,7 @@
     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 @@
 //  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;