diff options
author | Andreas Huber <andih@google.com> | 2010-04-08 14:01:33 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-04-08 14:09:54 -0700 |
commit | bebd11b5a406bc4243cb7bd55f6849841bf911a7 (patch) | |
tree | e7062dbb95ab0403d0fa96b31c13044976e1dea3 /media/libstagefright/include | |
parent | dac4ee72bac87388a1495e098f39d73168c8078f (diff) | |
download | frameworks_av-bebd11b5a406bc4243cb7bd55f6849841bf911a7.zip frameworks_av-bebd11b5a406bc4243cb7bd55f6849841bf911a7.tar.gz frameworks_av-bebd11b5a406bc4243cb7bd55f6849841bf911a7.tar.bz2 |
Support for ID3 V2.4 tags.
Change-Id: I74ee02451bdfd7e50f0d5ff6fa5da5147b683e4c
related-to-bug: 2581869
Diffstat (limited to 'media/libstagefright/include')
-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 da042a3..c6b1a8b 100644 --- a/media/libstagefright/include/ID3.h +++ b/media/libstagefright/include/ID3.h @@ -31,7 +31,8 @@ struct ID3 { ID3_V1, ID3_V1_1, ID3_V2_2, - ID3_V2_3 + ID3_V2_3, + ID3_V2_4, }; ID3(const sp<DataSource> &source); @@ -80,6 +81,8 @@ private: bool parseV2(const sp<DataSource> &source); void removeUnsynchronization(); + static bool ParseSyncsafeInteger(const uint8_t encoded[4], size_t *x); + ID3(const ID3 &); ID3 &operator=(const ID3 &); }; |