diff options
author | Andreas Huber <andih@google.com> | 2010-01-19 13:35:27 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-01-19 13:40:01 -0800 |
commit | 83e5850bdf9c8b5c36c364b367b039674eb827ad (patch) | |
tree | 7667adb309f1845859c6b54b30ab441f919c2a67 /media/libstagefright/include/ID3.h | |
parent | 5cb4241cbeb409f2322bd527349c080a2cf454df (diff) | |
download | frameworks_av-83e5850bdf9c8b5c36c364b367b039674eb827ad.zip frameworks_av-83e5850bdf9c8b5c36c364b367b039674eb827ad.tar.gz frameworks_av-83e5850bdf9c8b5c36c364b367b039674eb827ad.tar.bz2 |
Support for ID3 version 1 (and 1.1) tags in .mp3 files.
related-to-bug: 2375219
Diffstat (limited to 'media/libstagefright/include/ID3.h')
-rw-r--r-- | media/libstagefright/include/ID3.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libstagefright/include/ID3.h b/media/libstagefright/include/ID3.h index 79931ac..da042a3 100644 --- a/media/libstagefright/include/ID3.h +++ b/media/libstagefright/include/ID3.h @@ -28,6 +28,8 @@ struct String8; struct ID3 { enum Version { ID3_UNKNOWN, + ID3_V1, + ID3_V1_1, ID3_V2_2, ID3_V2_3 }; @@ -74,7 +76,8 @@ private: size_t mFirstFrameOffset; Version mVersion; - bool parse(const sp<DataSource> &source); + bool parseV1(const sp<DataSource> &source); + bool parseV2(const sp<DataSource> &source); void removeUnsynchronization(); ID3(const ID3 &); |