Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-07-05 16:58:42 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-07-05 16:58:42 +0400
commitf6883a2c09507d0acb9ccbf0156e5948211dc480 (patch)
tree7789b4fecd6b2e846f070e2e0bdb1e16ea7555e9 /src/apps/mplayerc/Mpeg2SectionData.h
parente9b446380bc3bc122e3e3a1d0622163a5f1920a3 (diff)
astyle formatting
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2103 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/Mpeg2SectionData.h')
-rw-r--r--src/apps/mplayerc/Mpeg2SectionData.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/apps/mplayerc/Mpeg2SectionData.h b/src/apps/mplayerc/Mpeg2SectionData.h
index 188cdeeb2..4eb9cfa2e 100644
--- a/src/apps/mplayerc/Mpeg2SectionData.h
+++ b/src/apps/mplayerc/Mpeg2SectionData.h
@@ -6,16 +6,16 @@
#pragma pack(1)
typedef struct
{
- UINT8 TableID;
- WORD SectionSyntaxIndicator : 1;
- WORD Reserved1 : 3;
- WORD SectionLength : 12;
- WORD BouquetID;
- UINT8 Reserved2 : 1;
- UINT8 VersionNumber : 5;
- UINT8 CurrentNextIndicator : 1;
- UINT8 SectionNumber;
- UINT8 LastSectionNumber;
+ UINT8 TableID;
+ WORD SectionSyntaxIndicator : 1;
+ WORD Reserved1 : 3;
+ WORD SectionLength : 12;
+ WORD BouquetID;
+ UINT8 Reserved2 : 1;
+ UINT8 VersionNumber : 5;
+ UINT8 CurrentNextIndicator : 1;
+ UINT8 SectionNumber;
+ UINT8 LastSectionNumber;
} SI_HEADER;
@@ -24,23 +24,23 @@ class CMpeg2DataParser
{
public :
- CMpeg2DataParser(IBaseFilter* pFilter);
+ CMpeg2DataParser(IBaseFilter* pFilter);
- HRESULT ParseSDT(ULONG ulFreq);
- HRESULT ParsePAT();
- HRESULT ParseNIT();
+ HRESULT ParseSDT(ULONG ulFreq);
+ HRESULT ParsePAT();
+ HRESULT ParseNIT();
- static CString ConvertString (BYTE* pBuffer, int nLength);
+ static CString ConvertString (BYTE* pBuffer, int nLength);
- CAtlMap<int,CDVBChannel> Channels;
+ CAtlMap<int,CDVBChannel> Channels;
private :
- CComQIPtr<IMpeg2Data> m_pData;
- MPEG2_FILTER m_Filter;
+ CComQIPtr<IMpeg2Data> m_pData;
+ MPEG2_FILTER m_Filter;
- DVB_STREAM_TYPE ConvertToDVBType(PES_STREAM_TYPE nType);
- HRESULT ParseSIHeader(CGolombBuffer& gb, DVB_SI SIType, WORD& wSectionLength, WORD& wTSID);
- HRESULT ParsePMT(CDVBChannel& Channel);
+ DVB_STREAM_TYPE ConvertToDVBType(PES_STREAM_TYPE nType);
+ HRESULT ParseSIHeader(CGolombBuffer& gb, DVB_SI SIType, WORD& wSectionLength, WORD& wTSID);
+ HRESULT ParsePMT(CDVBChannel& Channel);
};