[cvs] / xvidcore / vfw / src / driverproc.c Repository:
ViewVC logotype

Diff of /xvidcore/vfw/src/driverproc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Mon Mar 22 22:36:25 2004 UTC revision 1.2.2.1, Wed Mar 31 19:35:31 2004 UTC
# Line 43  Line 43 
43      return TRUE;      return TRUE;
44  }  }
45    
 extern HINSTANCE m_hdll;  
   
46  /* __declspec(dllexport) */ LRESULT WINAPI DriverProc(  /* __declspec(dllexport) */ LRESULT WINAPI DriverProc(
47          DWORD dwDriverId,          DWORD dwDriverId,
48          HDRVR hDriver,          HDRVR hDriver,
# Line 65  Line 63 
63    
64          case DRV_OPEN :          case DRV_OPEN :
65                  DPRINTF("DRV_OPEN");                  DPRINTF("DRV_OPEN");
66                  m_hdll = NULL;  
67                  {                  {
68                          ICOPEN * icopen = (ICOPEN *)lParam2;                          ICOPEN * icopen = (ICOPEN *)lParam2;
69    
# Line 85  Line 83 
83                                  return 0;                                  return 0;
84                          }                          }
85    
86                            memset(codec, 0, sizeof(CODEC));
87    
88              codec->status.hDlg = NULL;              codec->status.hDlg = NULL;
89              codec->config.ci_valid = 0;              codec->config.ci_valid = 0;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4