diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-09 14:50:29 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-09 14:50:29 +0400 |
commit | 71da69b661b937ecda260ed892715a3c41299d3c (patch) | |
tree | 38448da74563e3ac07e0a89bf7ae184c5f5d1def /src/filters/transform | |
parent | ac73b2a1222e4ebcd1555ae087f7279887a5f210 (diff) |
move CHECK_HR to MPCVideoDecFilter.h
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5055 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform')
-rw-r--r-- | src/filters/transform/MPCVideoDec/MPCVideoDecFilter.h | 2 | ||||
-rw-r--r-- | src/filters/transform/MPCVideoDec/stdafx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.h b/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.h index 101cfaed6..1444d4ba0 100644 --- a/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.h +++ b/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.h @@ -41,6 +41,8 @@ #define MAX_BUFF_TIME 20
+#define CHECK_HR(x) hr = ##x; if (FAILED(hr)) { TRACE("Error : 0x%08x\n", hr); ASSERT(hr == VFW_E_NOT_COMMITTED); return hr; }
+
struct AVCodec;
struct AVCodecContext;
struct AVFrame;
diff --git a/src/filters/transform/MPCVideoDec/stdafx.h b/src/filters/transform/MPCVideoDec/stdafx.h index 79ec0e01a..88f1da92e 100644 --- a/src/filters/transform/MPCVideoDec/stdafx.h +++ b/src/filters/transform/MPCVideoDec/stdafx.h @@ -39,5 +39,3 @@ void LOG(LPCTSTR fmt, ...); #else
inline void LOG(LPCTSTR fmt, ...) {}
#endif
-
-#define CHECK_HR(x) hr = ##x; if (FAILED (hr)) { TRACE("Error : 0x%08x\n", hr); ASSERT (hr==VFW_E_NOT_COMMITTED); return hr; }
|