Suppress warning messages when determining containers

- These warning messages are not useful since the code needs to
  loop through various container types to find a matching one.

Change-Id: I1d8eca563faf24e485ac71cce32e09515c174bf2
This commit is contained in:
Kongqun Yang 2016-04-22 09:46:18 -07:00
parent a789dc6d3c
commit ba42fed9e5
1 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,6 @@
#include "packager/base/logging.h" #include "packager/base/logging.h"
#include "packager/base/strings/string_util.h" #include "packager/base/strings/string_util.h"
#include "packager/media/base/bit_reader.h" #include "packager/media/base/bit_reader.h"
#include "packager/media/base/rcheck.h"
#include "packager/mpd/base/xml/scoped_xml_ptr.h" #include "packager/mpd/base/xml/scoped_xml_ptr.h"
namespace edash_packager { namespace edash_packager {
@ -25,6 +24,12 @@ namespace media {
(static_cast<uint8_t>(b) << 16) | (static_cast<uint8_t>(c) << 8) | \ (static_cast<uint8_t>(b) << 16) | (static_cast<uint8_t>(c) << 8) | \
(static_cast<uint8_t>(d))) (static_cast<uint8_t>(d)))
#define RCHECK(x) \
do { \
if (!(x)) \
return false; \
} while (0)
#define UTF8_BYTE_ORDER_MARK "\xef\xbb\xbf" #define UTF8_BYTE_ORDER_MARK "\xef\xbb\xbf"
// Helper function to read 2 bytes (16 bits, big endian) from a buffer. // Helper function to read 2 bytes (16 bits, big endian) from a buffer.