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

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

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

revision 1323, Thu Jan 22 16:13:59 2004 UTC revision 1326, Fri Jan 23 11:17:24 2004 UTC
# Line 268  Line 268 
268  int vfw_debug(void *handle,  int vfw_debug(void *handle,
269                           int opt,                           int opt,
270                           void *param1,                           void *param1,
271                           void **param2)                           void *param2)
272  {  {
273          switch (opt) {          switch (opt) {
274          case XVID_PLG_CREATE:          case XVID_PLG_CREATE:
275                  *param2 = NULL;                  *((void**)param2) = NULL;
276          case XVID_PLG_INFO:          case XVID_PLG_INFO:
277          case XVID_PLG_DESTROY:          case XVID_PLG_DESTROY:
278          case XVID_PLG_BEFORE:          case XVID_PLG_BEFORE:
# Line 849  Line 849 
849          return ICERR_OK;          return ICERR_OK;
850  }  }
851    
852  #define REG_GET_N(X, Y, Z) { int size=sizeof(int);if(RegQueryValueEx(hKey, X, 0, 0, (LPBYTE)&Y, &size) != ERROR_SUCCESS) {Y=Z;} }  #define REG_GET_N(X, Y, Z) \
853    { \
854            DWORD size = sizeof(int); \
855            if (RegQueryValueEx(hKey, X, 0, 0, (LPBYTE)&Y, &size) != ERROR_SUCCESS) { \
856                    Y=Z; \
857            } \
858    }while(0)
859    
860  LRESULT decompress_begin(CODEC * codec, BITMAPINFO * lpbiInput, BITMAPINFO * lpbiOutput)  LRESULT decompress_begin(CODEC * codec, BITMAPINFO * lpbiInput, BITMAPINFO * lpbiOutput)
861  {  {

Legend:
Removed from v.1323  
changed lines
  Added in v.1326

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