[svn] / branches / release-1_0-branch / xvidcore / vfw / src / driverproc.c Repository:
ViewVC logotype

Diff of /branches/release-1_0-branch/xvidcore/vfw/src/driverproc.c

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

revision 1395, Wed Mar 31 19:10:24 2004 UTC revision 1396, Wed Mar 31 19:35:31 2004 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: driverproc.c,v 1.2 2004-03-22 22:36:25 edgomez Exp $   * $Id: driverproc.c,v 1.2.2.1 2004-03-31 19:35:31 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# 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.1395  
changed lines
  Added in v.1396

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