From 7bffd4d229181b4a0ef55ad918bc9c31ceac605f Mon Sep 17 00:00:00 2001 From: Spec-Chum Date: Sun, 23 May 2010 22:23:54 +0000 Subject: Fixed some Intel C++ compiler errors, 32-bit MPC-HC can be compiled but the compiled exe has problems similar to vs2010 builds. We do not support the intel compiler, but patches are welcome. (thanks for the python script, Marko - really helped) git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1933 10f7b99b-c216-0410-bff0-8a66a9350fd8 --- include/IBitRateInfo.h | 4 ++-- include/IBufferInfo.h | 4 ++-- include/IChapterInfo.h | 4 ++-- include/IFilterVersion.h | 4 ++-- include/IKeyFrameInfo.h | 4 ++-- include/ITrackInfo.h | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'include') diff --git a/include/IBitRateInfo.h b/include/IBitRateInfo.h index d1eb116cd..63c7a1c26 100644 --- a/include/IBitRateInfo.h +++ b/include/IBitRateInfo.h @@ -21,8 +21,8 @@ #pragma once -[uuid("EB2CD9E6-BA08-4acb-AA0F-3D8D0DD521CA")] -interface IBitRateInfo : public IUnknown +interface __declspec(uuid("EB2CD9E6-BA08-4acb-AA0F-3D8D0DD521CA")) +IBitRateInfo : public IUnknown { STDMETHOD_(DWORD, GetCurrentBitRate) () = 0; STDMETHOD_(DWORD, GetAverageBitRate) () = 0; diff --git a/include/IBufferInfo.h b/include/IBufferInfo.h index da72c1cca..b13f67a51 100644 --- a/include/IBufferInfo.h +++ b/include/IBufferInfo.h @@ -21,8 +21,8 @@ #pragma once -[uuid("46070104-1318-4A82-8822-E99AB7CD15C1")] -interface IBufferInfo : public IUnknown +interface __declspec(uuid("46070104-1318-4A82-8822-E99AB7CD15C1")) +IBufferInfo : public IUnknown { STDMETHOD_(int, GetCount()) = 0; STDMETHOD(GetStatus(int i, int& samples, int& size)) = 0; diff --git a/include/IChapterInfo.h b/include/IChapterInfo.h index 3cd126116..4550a965e 100644 --- a/include/IChapterInfo.h +++ b/include/IChapterInfo.h @@ -44,8 +44,8 @@ struct ChapterElement2 : ChapterElement { }; #pragma pack(pop) -[uuid("8E128709-3DC8-4e49-B632-380FCF496B6D")] -interface IChapterInfo : public IUnknown +interface __declspec(uuid("8E128709-3DC8-4e49-B632-380FCF496B6D")) +IChapterInfo : public IUnknown { #define CHAPTER_BAD_ID 0xFFFFFFFF #define CHAPTER_ROOT_ID 0 diff --git a/include/IFilterVersion.h b/include/IFilterVersion.h index 76d3df43a..c399a1fc9 100644 --- a/include/IFilterVersion.h +++ b/include/IFilterVersion.h @@ -21,8 +21,8 @@ #pragma once -[uuid("A0DD28E1-61C0-4539-A7E6-14544AFF092E")] -interface IFilterVersion : public IUnknown +interface __declspec(uuid("A0DD28E1-61C0-4539-A7E6-14544AFF092E")) +IFilterVersion : public IUnknown { STDMETHOD_(DWORD, GetFilterVersion) () = 0; }; \ No newline at end of file diff --git a/include/IKeyFrameInfo.h b/include/IKeyFrameInfo.h index fa40922f5..f17e8b485 100644 --- a/include/IKeyFrameInfo.h +++ b/include/IKeyFrameInfo.h @@ -21,8 +21,8 @@ #pragma once -[uuid("01A5BBD3-FE71-487C-A2EC-F585918A8724")] -interface IKeyFrameInfo : public IUnknown +interface __declspec(uuid("01A5BBD3-FE71-487C-A2EC-F585918A8724")) +IKeyFrameInfo : public IUnknown { STDMETHOD (GetKeyFrameCount) (UINT& nKFs) = 0; // returns S_FALSE when every frame is a keyframe STDMETHOD (GetKeyFrames) (const GUID* pFormat, REFERENCE_TIME* pKFs, UINT& nKFs /* in, out*/) = 0; diff --git a/include/ITrackInfo.h b/include/ITrackInfo.h index 59310d032..77c90c042 100644 --- a/include/ITrackInfo.h +++ b/include/ITrackInfo.h @@ -42,8 +42,8 @@ struct TrackExtendedInfoAudio { #pragma pack(pop) -[uuid("03E98D51-DDE7-43aa-B70C-42EF84A3A23D")] -interface ITrackInfo : public IUnknown +interface __declspec(uuid("03E98D51-DDE7-43aa-B70C-42EF84A3A23D")) +ITrackInfo : public IUnknown { STDMETHOD_(UINT, GetTrackCount) () = 0; -- cgit v1.2.3