[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 383, Mon Aug 19 09:40:30 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 63  Line 62 
62    
63          case DRV_LOAD :          case DRV_LOAD :
64          case DRV_FREE :          case DRV_FREE :
65                  DRV_OK;                  return DRV_OK;
66    
67          case DRV_OPEN :          case DRV_OPEN :
68                  DEBUG("DRV_OPEN");                  DEBUG("DRV_OPEN");
# 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;
# Line 136  Line 145 
145    
146                          return lParam2; /* size of struct */                          return lParam2; /* size of struct */
147                  }                  }
                 DEBUG("ICM_GETINFO end");  
   
148    
149                  /* state control */                  /* state control */
150    

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

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