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
path: root/src
diff options
context:
space:
mode:
authorAlex Marsev <alex.marsev@gmail.com>2013-05-12 11:04:28 +0400
committerAlex Marsev <alex.marsev@gmail.com>2013-05-14 00:07:13 +0400
commitcf6141f7f3d229c9b7751f960f55d4ca5cfe9d11 (patch)
tree7c7becbd84d1987a17329023a9494e0c235e1b1d /src
parentb852a7983dcb2c1f8003eacefaa521974a8eab93 (diff)
CBaseMuxerOutputPin: fix a warning
The casted value is basically si->dwOffset, which is DWORD
Diffstat (limited to 'src')
-rw-r--r--src/filters/muxer/BaseMuxer/BaseMuxerOutputPin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/muxer/BaseMuxer/BaseMuxerOutputPin.cpp b/src/filters/muxer/BaseMuxer/BaseMuxerOutputPin.cpp
index d95fadc2d..3a8fe8ef6 100644
--- a/src/filters/muxer/BaseMuxer/BaseMuxerOutputPin.cpp
+++ b/src/filters/muxer/BaseMuxer/BaseMuxerOutputPin.cpp
@@ -164,7 +164,7 @@ void CBaseMuxerRawOutputPin::MuxHeader(const CMediaType& mt)
pBitStream->ByteWrite(utf8bom, sizeof(utf8bom));
}
- CStringA str((char*)p, mt.FormatLength() - (p - mt.Format()));
+ CStringA str((char*)p, mt.FormatLength() - (ULONG)(p - mt.Format()));
pBitStream->StrWrite(str + '\n', true);
if (str.Find("[Events]") < 0) {