diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-01 02:13:07 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-01 02:13:07 +0400 |
commit | cc4059cc8a6baa8ac84b1e6ee2b410cd5af2f6d3 (patch) | |
tree | 92034db8ae916af70d13b7ccd7ba42fd77838b83 /src/DSUtil/DSUtil.h | |
parent | f48f540221189b2a6861db465465afdd0b0a4275 (diff) |
keep the style constant
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5320 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/DSUtil.h')
-rw-r--r-- | src/DSUtil/DSUtil.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/DSUtil/DSUtil.h b/src/DSUtil/DSUtil.h index d38caeeff..934d361ae 100644 --- a/src/DSUtil/DSUtil.h +++ b/src/DSUtil/DSUtil.h @@ -140,15 +140,27 @@ typedef enum { class CPinInfo : public PIN_INFO
{
public:
- CPinInfo() { pFilter = NULL; }
- ~CPinInfo() { if (pFilter) { pFilter->Release(); } }
+ CPinInfo() {
+ pFilter = NULL;
+ }
+ ~CPinInfo() {
+ if (pFilter) {
+ pFilter->Release();
+ }
+ }
};
class CFilterInfo : public FILTER_INFO
{
public:
- CFilterInfo() { pGraph = NULL; }
- ~CFilterInfo() { if (pGraph) { pGraph->Release(); } }
+ CFilterInfo() {
+ pGraph = NULL;
+ }
+ ~CFilterInfo() {
+ if (pGraph) {
+ pGraph->Release();
+ }
+ }
};
#define BeginEnumFilters(pFilterGraph, pEnumFilters, pBaseFilter) \
|