comparison libmpcodecs/ve_vfw.c @ 7390:2357ee501582

fixed to comply with new loader
author alex
date Fri, 13 Sep 2002 21:55:55 +0000
parents a894e99c1e51
children f296ff05bcd0
comparison
equal deleted inserted replaced
7389:6f3dd9df2cc2 7390:2357ee501582
59 mp_msg(MSGT_WIN32,MSGL_V,"======= Win32 (VFW) VIDEO Encoder init =======\n"); 59 mp_msg(MSGT_WIN32,MSGL_V,"======= Win32 (VFW) VIDEO Encoder init =======\n");
60 60
61 // memset(&sh_video->o_bih, 0, sizeof(BITMAPINFOHEADER)); 61 // memset(&sh_video->o_bih, 0, sizeof(BITMAPINFOHEADER));
62 // output_bih->biSize = sizeof(BITMAPINFOHEADER); 62 // output_bih->biSize = sizeof(BITMAPINFOHEADER);
63 63
64 win32_codec_name = dll_name; 64 // encoder_hic = ICOpen( 0x63646976, out_fourcc, ICMODE_COMPRESS);
65 encoder_hic = ICOpen( 0x63646976, out_fourcc, ICMODE_COMPRESS); 65 encoder_hic = ICOpen( dll_name, out_fourcc, ICMODE_COMPRESS);
66 if(!encoder_hic){ 66 if(!encoder_hic){
67 mp_msg(MSGT_WIN32,MSGL_ERR,"ICOpen failed! unknown codec / wrong parameters?\n"); 67 mp_msg(MSGT_WIN32,MSGL_ERR,"ICOpen failed! unknown codec / wrong parameters?\n");
68 return NULL; 68 return NULL;
69 } 69 }
70 printf("HIC: %x\n", encoder_hic); 70 printf("HIC: %x\n", encoder_hic);