[svn] / branches / dev-api-4 / xvidcore / vfw / src / driverproc.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/src/driverproc.c

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

revision 1017, Wed May 14 11:44:29 2003 UTC revision 1053, Mon Jun 9 01:25:19 2003 UTC
# Line 94  Line 94 
94                          codec->fincr = 1;                          codec->fincr = 1;
95                          config_reg_get(&codec->config);                          config_reg_get(&codec->config);
96    
97                          /* bad things happen if this is uncommented  #if 0
98                            /* bad things happen if this piece of code is activated */
99                          if (lstrcmp(XVID_BUILD, codec->config.build))                          if (lstrcmp(XVID_BUILD, codec->config.build))
100                          {                          {
101                                  config_reg_default(&codec->config);                                  config_reg_default(&codec->config);
102                          }                          }
103                          */  #endif
104    
105                          if (icopen != NULL)                          if (icopen != NULL)
106                          {                          {
# Line 110  Line 111 
111    
112          case DRV_CLOSE :          case DRV_CLOSE :
113                  DPRINTF("DRV_CLOSE");                  DPRINTF("DRV_CLOSE");
114                  // compress_end/decompress_end don't always get called                  /* compress_end/decompress_end don't always get called */
115                  compress_end(codec);                  compress_end(codec);
116                  decompress_end(codec);                  decompress_end(codec);
117                  free(codec);                  free(codec);
# Line 196  Line 197 
197                          return 0;                          return 0;
198                  }                  }
199                  memcpy(&codec->config,(void*)lParam1, sizeof(CONFIG));                  memcpy(&codec->config,(void*)lParam1, sizeof(CONFIG));
200                  return 0; // sizeof(CONFIG);                  return 0; /* sizeof(CONFIG); */
201    
202          /* not sure the difference, private/public data? */          /* not sure the difference, private/public data? */
203    

Legend:
Removed from v.1017  
changed lines
  Added in v.1053

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