Changeset 1656 for trunk/dll/defview.c
- Timestamp:
- Jan 8, 2012, 7:19:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/defview.c
r1645 r1656 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 20 08Steven H.Levine7 Copyright (c) 2003, 2012 Steven H.Levine 8 8 9 9 Default file viewer … … 28 28 It was redundant. 29 29 12 Dec 09 GKY Pass .WPI files to PM for default handling. 30 02 Jan 12 GKY Completely rework ShowMultimedia to only test and try to open files with known multimedia extensions 31 This fixes some traps in GBM.DLL and PMCTLS.DLL; mmioIdentifyFile appears to pretty much be broken. 30 32 31 33 ***********************************************************************/ … … 143 145 return played; 144 146 } 147 else 148 return played; 145 149 } 146 150 memset(&mmFormatInfo, 0, sizeof(MMFORMATINFO)); … … 150 154 MMIO_FORCE_IDENTIFY_FF); 151 155 DosFreeModule(MMIOModHandle); 152 p = strrchr(filename, '.'); 153 if (!p) 154 p = "."; 155 /* if identified and not FOURCC_DOS MPEGs are misidentified as DOS*/ 156 157 // if identified and not FOURCC_DOS MPEGs are misidentified as DOS 156 158 //DbgMsg(pszSrcFile, __LINE__, "FOUCC %x %s %i", mmFormatInfo.fccIOProc, 157 159 // mmFormatInfo.szDefaultFormatExt, mmFormatInfo.ulMediaType); … … 167 169 } 168 170 else if (mmFormatInfo.ulMediaType != MMIO_MEDIATYPE_IMAGE) { 169 / * is a multimedia file (WAV, MID, AVI, etc.) */171 // is a multimedia file (WAV, MID, AVI, etc.) 170 172 if (!stricmp(p, PCSZ_DOTOGG) || !stricmp(p, PCSZ_DOTMP3) || !stricmp(p, PCSZ_DOTFLAC)) 171 173 OpenObject(filename, Default, hwnd); //FM2Play fails to play these
Note:
See TracChangeset
for help on using the changeset viewer.