Changeset 1783 for trunk/dll/defview.c
- Timestamp:
- Jul 19, 2014, 10:39:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/defview.c
r1780 r1783 31 31 This fixes some traps in GBM.DLL and PMCTLS.DLL; mmioIdentifyFile appears to pretty much be broken. 32 32 28 Jun 14 GKY Fix errors identified with CPPCheck 33 19 Jul 14 GKY MMOS2 misids all kinds of things including window bitmaps as audio files 34 Removed FM2play from code since the misid leads to a failure to open the 35 bitmaps. 33 36 34 37 ***********************************************************************/ … … 161 164 if (!rc && (mmFormatInfo.fccIOProc != FOURCC_DOS || 162 165 !stricmp(p, PCSZ_DOTMPG) || !stricmp(p, PCSZ_DOTMPEG))) { 163 if (mmFormatInfo.ulMediaType == MMIO_MEDIATYPE_IMAGE && 164 (mmFormatInfo.ulFlags & MMIO_CANREADTRANSLATED)) { 165 //if (!stricmp(p, PCSZ_DOTJPG) || !stricmp(p, PCSZ_DOTJPEG)) 166 OpenObject(filename, Default, hwnd); //Image fails to display these 167 // else // is an image that can be translated 168 // RunFM2Util(PCSZ_IMAGEEXE, filename); // 29 Oct 11 GKY Image.exe doesn't handle multilayer bitmaps or jpgs 169 played = TRUE; 170 } 171 else if (mmFormatInfo.ulMediaType != MMIO_MEDIATYPE_IMAGE) { 172 // is a multimedia file (WAV, MID, AVI, etc.) 173 if (!stricmp(p, PCSZ_DOTOGG) || !stricmp(p, PCSZ_DOTMP3) || !stricmp(p, PCSZ_DOTFLAC)) 174 OpenObject(filename, Default, hwnd); //FM2Play fails to play these 175 else 176 RunFM2Util(PCSZ_FM2PLAYEXE, filename); 177 played = TRUE; 166 if ((mmFormatInfo.ulFlags & MMIO_CANREADTRANSLATED)) { 167 OpenObject(filename, Default, hwnd); 168 played = TRUE; 178 169 } 179 170 } … … 354 345 StartMLEEditor(hwndParent, 5, filename, hwndFrame); 355 346 } 356 //}357 347 } 358 348 }
Note:
See TracChangeset
for help on using the changeset viewer.