[svn] / trunk / vfw / src / driverproc.c Repository:
ViewVC logotype

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

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

revision 30, Sat Mar 16 11:40:48 2002 UTC revision 61, Sat Mar 23 06:58:56 2002 UTC
# Line 23  Line 23 
23   *   *
24   *      History:   *      History:
25   *   *
  *      ... ???  
26   *      01.12.2001      inital version; (c)2001 peter ross <suxen_drol@hotmail.com>   *      01.12.2001      inital version; (c)2001 peter ross <suxen_drol@hotmail.com>
27   *   *
28   *************************************************************************/   *************************************************************************/
# Line 74  Line 73 
73                          {                          {
74                                  return DRV_CANCEL;                                  return DRV_CANCEL;
75                          }                          }
76    
77                          codec = malloc(sizeof(CODEC));                          codec = malloc(sizeof(CODEC));
78    
79                          if (codec == NULL)                          if (codec == NULL)
80                          {                          {
81                                  if (icopen != NULL)                                  if (icopen != NULL)
# Line 83  Line 84 
84                                  }                                  }
85                                  return 0;                                  return 0;
86                          }                          }
87    
88                          codec->ehandle = codec->dhandle = NULL;                          codec->ehandle = codec->dhandle = NULL;
89                          config_reg_get(&codec->config);                          config_reg_get(&codec->config);
90    
91                            /* bad things happen if this is uncommented
92                            if (lstrcmp(XVID_BUILD, codec->config.build))
93                            {
94                                    config_reg_default(&codec->config);
95                            }
96                            */
97    
98                          if (icopen != NULL)                          if (icopen != NULL)
99                          {                          {
100                                  icopen->dwError = ICERR_OK;                                  icopen->dwError = ICERR_OK;

Legend:
Removed from v.30  
changed lines
  Added in v.61

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