Mercurial > mplayer.hg
comparison loader/win32.c @ 28305:6f11a5363242
Reduce QuickTime binary decoder verbosity.
author | diego |
---|---|
date | Sat, 17 Jan 2009 21:33:30 +0000 |
parents | 9e739bdb049c |
children | a33e2f3989cd |
comparison
equal
deleted
inserted
replaced
28304:9b5e7dcc09f9 | 28305:6f11a5363242 |
---|---|
3326 if(!x) continue; | 3326 if(!x) continue; |
3327 if(strcmp(x,".qtx")) continue; | 3327 if(strcmp(x,".qtx")) continue; |
3328 strcpy(lpfd->cFileName,d->d_name); | 3328 strcpy(lpfd->cFileName,d->d_name); |
3329 // sprintf(lpfd->cAlternateFileName,"%-8s.qtx",d->d_name); | 3329 // sprintf(lpfd->cAlternateFileName,"%-8s.qtx",d->d_name); |
3330 strcpy(lpfd->cAlternateFileName,"foobar.qtx"); | 3330 strcpy(lpfd->cAlternateFileName,"foobar.qtx"); |
3331 printf("### FindNext: %s\n",lpfd->cFileName); | 3331 dbgprintf("### FindNext: %s\n",lpfd->cFileName); |
3332 return 1; | 3332 return 1; |
3333 } | 3333 } |
3334 closedir(qtx_dir); qtx_dir=NULL; | 3334 closedir(qtx_dir); qtx_dir=NULL; |
3335 return 0; | 3335 return 0; |
3336 } | 3336 } |
3343 dbgprintf("FindFirstFileA(0x%x='%s', 0x%x) => 0\n", s, s, lpfd); | 3343 dbgprintf("FindFirstFileA(0x%x='%s', 0x%x) => 0\n", s, s, lpfd); |
3344 // printf("\n### FindFirstFileA('%s')...\n",s); | 3344 // printf("\n### FindFirstFileA('%s')...\n",s); |
3345 #ifdef QTX | 3345 #ifdef QTX |
3346 if(strstr(s, "quicktime\\*.QTX")){ | 3346 if(strstr(s, "quicktime\\*.QTX")){ |
3347 dbgprintf("FindFirstFileA(0x%x='%s', 0x%x) => QTX\n", s, s, lpfd); | 3347 dbgprintf("FindFirstFileA(0x%x='%s', 0x%x) => QTX\n", s, s, lpfd); |
3348 printf("\n### Searching for QuickTime plugins (*.qtx) at %s...\n",def_path); | 3348 dbgprintf("\n### Searching for QuickTime plugins (*.qtx) at %s...\n",def_path); |
3349 qtx_dir=opendir(def_path); | 3349 qtx_dir=opendir(def_path); |
3350 if(!qtx_dir) return (HANDLE)-1; | 3350 if(!qtx_dir) return (HANDLE)-1; |
3351 memset(lpfd,0,sizeof(*lpfd)); | 3351 memset(lpfd,0,sizeof(*lpfd)); |
3352 if(expFindNextFileA(FILE_HANDLE_quicktimeqtx,lpfd)) | 3352 if(expFindNextFileA(FILE_HANDLE_quicktimeqtx,lpfd)) |
3353 return FILE_HANDLE_quicktimeqtx; | 3353 return FILE_HANDLE_quicktimeqtx; |