summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-04-08 14:01:33 -0700
committerAndreas Huber <andih@google.com>2010-04-08 14:09:54 -0700
commitbebd11b5a406bc4243cb7bd55f6849841bf911a7 (patch)
treee7062dbb95ab0403d0fa96b31c13044976e1dea3 /media/libstagefright/include
parentdac4ee72bac87388a1495e098f39d73168c8078f (diff)
downloadframeworks_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.h5
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 &);
};