libwebm: Remove STL dependency from Android build.

Change-Id: Id2f378f2fa8350aae97394bd8b21918cff4d179a
This commit is contained in:
Frank Galligan
2013-04-15 10:24:34 -07:00
parent d5cb6c7fa4
commit 64cee42b85
3 changed files with 4 additions and 5 deletions

View File

@@ -21,7 +21,6 @@
#include <cstring>
#include <ctime>
#include <limits>
#include <new>
#include "mkvwriter.hpp"
@@ -335,7 +334,7 @@ uint64 WriteSimpleBlock(IMkvWriter* writer,
// is a signed, 16-bit integer). However, as a simplification we
// only permit non-negative cluster-relative timestamps for blocks.
if (timecode < 0 || timecode > std::numeric_limits<int16>::max())
if (timecode < 0 || timecode > kMaxBlockTimecode)
return false;
if (WriteID(writer, kMkvSimpleBlock))