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

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'OutputPin.h')
-rw-r--r--OutputPin.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/OutputPin.h b/OutputPin.h
index a31b6cd..d52718d 100644
--- a/OutputPin.h
+++ b/OutputPin.h
@@ -99,9 +99,7 @@ private:
HRESULT ConvertSample (IMediaSample *sample, LONGLONG *pos, DWORD *length, BYTE **buffer);
HRESULT DoFlush (IMediaSample **ppSample, DWORD_PTR *pdwUser);
- BOOL IsAligned (DWORD l) { return !(l & (m_align - 1)); }
- BOOL IsAligned (LONGLONG l) { return IsAligned ((DWORD) l); }
- BOOL IsAligned (INT_PTR l) { return IsAligned ((DWORD) l); }
+ BOOL IsAligned (INT_PTR l) { return !(l & (m_align - 1)); }
};
#endif // OUTPUT_PIN_H