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:
parent
a789dc6d3c
commit
ba42fed9e5
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue