diff options
author | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-29 08:04:26 +0400 |
---|---|---|
committer | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-29 08:04:26 +0400 |
commit | 158e31fbcc38e59cba2451ad5a2bccf69ea697d1 (patch) | |
tree | 1b926f2877ee61d5f052a559fc2f67c10f8bc0eb /src/filters/parser/MP4Splitter/AP4 | |
parent | 02072325a68d4fb294c3ba4f58048c42de3b9e0a (diff) |
A lot of compiler L4 warnings fixed (some warnings disabled)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1982 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MP4Splitter/AP4')
-rw-r--r-- | src/filters/parser/MP4Splitter/AP4/Source/Codecs/Ap4BitStream.h | 4 | ||||
-rw-r--r-- | src/filters/parser/MP4Splitter/AP4/Source/MetaData/Ap4MetaData.cpp | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/filters/parser/MP4Splitter/AP4/Source/Codecs/Ap4BitStream.h b/src/filters/parser/MP4Splitter/AP4/Source/Codecs/Ap4BitStream.h index c0bb0566e..d34e97cb6 100644 --- a/src/filters/parser/MP4Splitter/AP4/Source/Codecs/Ap4BitStream.h +++ b/src/filters/parser/MP4Splitter/AP4/Source/Codecs/Ap4BitStream.h @@ -289,7 +289,7 @@ inline AP4_UI08 AP4_BitStream::ReadByte() { SkipBits(m_BitsCached & 7); - return ReadBits(8); + return (AP4_UI08)ReadBits(8); } /*---------------------------------------------------------------------- @@ -300,7 +300,7 @@ AP4_BitStream::PeekByte() { int extra_bits = m_BitsCached & 7; int data = PeekBits(extra_bits + 8); - int byte = data & 0xFF; + AP4_UI08 byte = data & 0xFF; return byte; } diff --git a/src/filters/parser/MP4Splitter/AP4/Source/MetaData/Ap4MetaData.cpp b/src/filters/parser/MP4Splitter/AP4/Source/MetaData/Ap4MetaData.cpp index a7b825d3a..507089a6d 100644 --- a/src/filters/parser/MP4Splitter/AP4/Source/MetaData/Ap4MetaData.cpp +++ b/src/filters/parser/MP4Splitter/AP4/Source/MetaData/Ap4MetaData.cpp @@ -757,9 +757,6 @@ AP4_MetaData::Entry::ToAtom(AP4_Atom*& atom) const atom = new AP4_DcfdAtom(m_Value->ToInteger()); return AP4_SUCCESS; } - - // not supported - return AP4_ERROR_NOT_SUPPORTED; } else { // create a '----' atom AP4_ContainerAtom* container = new AP4_ContainerAtom(AP4_ATOM_TYPE_dddd); @@ -777,7 +774,8 @@ AP4_MetaData::Entry::ToAtom(AP4_Atom*& atom) const atom = container; return AP4_SUCCESS; } - + + // not supported return AP4_ERROR_NOT_SUPPORTED; } |