Add EMMG to carry fingerprinting and service blocking info
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#define UTIL_ENDIAN_ENDIAN_H_
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
@@ -19,7 +20,8 @@ namespace widevine {
|
||||
// order and big-endian byte order (same as network byte order)
|
||||
class BigEndian {
|
||||
public:
|
||||
static uint32_t Load32(const char* data) {
|
||||
static uint32_t Load32(const char* indata) {
|
||||
const uint8_t* data = reinterpret_cast<const uint8_t*>(indata);
|
||||
return (data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user