|
|
@ -32,7 +32,7 @@ namespace android {
|
|
|
|
|
|
|
|
|
|
|
|
static const size_t kMaxMetadataSize = 3 * 1024 * 1024;
|
|
|
|
static const size_t kMaxMetadataSize = 3 * 1024 * 1024;
|
|
|
|
|
|
|
|
|
|
|
|
struct MemorySource : public DataSourceBase {
|
|
|
|
struct ID3::MemorySource : public DataSourceBase {
|
|
|
|
MemorySource(const uint8_t *data, size_t size)
|
|
|
|
MemorySource(const uint8_t *data, size_t size)
|
|
|
|
: mData(data),
|
|
|
|
: mData(data),
|
|
|
|
mSize(size) {
|
|
|
|
mSize(size) {
|
|
|
@ -58,7 +58,7 @@ private:
|
|
|
|
DISALLOW_EVIL_CONSTRUCTORS(MemorySource);
|
|
|
|
DISALLOW_EVIL_CONSTRUCTORS(MemorySource);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class DataSourceUnwrapper : public DataSourceBase {
|
|
|
|
class ID3::DataSourceUnwrapper : public DataSourceBase {
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
explicit DataSourceUnwrapper(DataSourceHelper *sourcehelper) {
|
|
|
|
explicit DataSourceUnwrapper(DataSourceHelper *sourcehelper) {
|
|
|
|