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:
authorkinddragon <kinddragon@users.sourceforge.net>2010-05-29 04:37:16 +0400
committerkinddragon <kinddragon@users.sourceforge.net>2010-05-29 04:37:16 +0400
commit0d93d4b447099f1323f48ba659a76f1a87bf027f (patch)
tree35a929bead80ce23fb2cd428b84ac160d1df1daa /src/filters/parser/MP4Splitter
parent360eebab45082d2bab913fddd730b7943cb39091 (diff)
MP4Splitter warnings fixed
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1980 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MP4Splitter')
-rw-r--r--src/filters/parser/MP4Splitter/AP4/Source/Core/Ap4AtomFactory.cpp18
-rw-r--r--src/filters/parser/MP4Splitter/readme.txt9
2 files changed, 9 insertions, 18 deletions
diff --git a/src/filters/parser/MP4Splitter/AP4/Source/Core/Ap4AtomFactory.cpp b/src/filters/parser/MP4Splitter/AP4/Source/Core/Ap4AtomFactory.cpp
index cd276eaf4..e45504c80 100644
--- a/src/filters/parser/MP4Splitter/AP4/Source/Core/Ap4AtomFactory.cpp
+++ b/src/filters/parser/MP4Splitter/AP4/Source/Core/Ap4AtomFactory.cpp
@@ -301,19 +301,19 @@ AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream& stream,
// ==> Start patch MPC
case AP4_ATOM_TYPE_TEXT:
- atom = new AP4_TextSampleEntry(size_64, stream, *this);
+ atom = new AP4_TextSampleEntry((AP4_Size)size_64, stream, *this);
break;
case AP4_ATOM_TYPE_TX3G:
- atom = new AP4_Tx3gSampleEntry(size_64, stream, *this);
+ atom = new AP4_Tx3gSampleEntry((AP4_Size)size_64, stream, *this);
break;
case AP4_ATOM_TYPE_FTAB:
- atom = new AP4_FtabAtom(size_64, stream);
+ atom = new AP4_FtabAtom((AP4_Size)size_64, stream);
break;
case AP4_ATOM_TYPE_CHPL:
- atom = new AP4_ChplAtom(size_64, stream);
+ atom = new AP4_ChplAtom((AP4_Size)size_64, stream);
break;
case AP4_ATOM_TYPE_CVID:
@@ -322,7 +322,7 @@ AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream& stream,
case AP4_ATOM_TYPE_SVQ3:
case AP4_ATOM_TYPE_H263:
case AP4_ATOM_TYPE_S263:
- atom = new AP4_VisualSampleEntry(type, size_64, stream, *this);
+ atom = new AP4_VisualSampleEntry(type, (AP4_Size)size_64, stream, *this);
break;
case AP4_ATOM_TYPE_SAMR:
@@ -332,12 +332,12 @@ AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream& stream,
case AP4_ATOM_TYPE_QDM2:
case AP4_ATOM_TYPE_TWOS:
case AP4_ATOM_TYPE_SOWT:
- atom = new AP4_AudioSampleEntry(type, size_64, stream, *this);
+ atom = new AP4_AudioSampleEntry(type, (AP4_Size)size_64, stream, *this);
break;
case AP4_ATOM_TYPE_AC_3: // AC3-in-MP4 from ISO Standard
case AP4_ATOM_TYPE_SAC3: // AC3-in-MP4 from Nero Stuff >.<
- atom = new AP4_AC3SampleEntry(type, size_64, stream, *this);
+ atom = new AP4_AC3SampleEntry(type, (AP4_Size)size_64, stream, *this);
break;
// <== End patch MPC
@@ -685,10 +685,10 @@ AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream& stream,
// ==> Start patch MPC
case AP4_ATOM_TYPE_DCOM:
- atom = AP4_DcomAtom::Create(size_64, stream);
+ atom = AP4_DcomAtom::Create((AP4_Size)size_64, stream);
break;
case AP4_ATOM_TYPE_CMVD:
- atom = AP4_CmvdAtom::Create(size_64, stream, *this);
+ atom = AP4_CmvdAtom::Create((AP4_Size)size_64, stream, *this);
break;
// <== End patch MPC
diff --git a/src/filters/parser/MP4Splitter/readme.txt b/src/filters/parser/MP4Splitter/readme.txt
deleted file mode 100644
index 66af88a89..000000000
--- a/src/filters/parser/MP4Splitter/readme.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-In order to build this splitter the source of Bento4 has to be extracted into the AP4 directory.
-
-Location: http://sourceforge.net/projects/bento4/
-
-!!!IMPORTANT!!!
-
-There are a few necessary changes need to be done before it can be compiled. Just overwrite the original library files with what you can find at .\AP4\Update\<version>.
-
-There are only project files for vc2k5b2 because I don't have vc2k3 anymore. So if you want to build with that you have to create them yourself. (just decreasing the version number of sln/vcproj works usually...) \ No newline at end of file