diff options
author | Andreas Huber <andih@google.com> | 2009-10-23 10:22:30 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2009-10-23 10:35:08 -0700 |
commit | 34769bc913e9f6bb138e666d94a9d685bf3da217 (patch) | |
tree | 04de6901ea0132276789b671db83c2cccbee68c0 /media/libstagefright/DataSource.cpp | |
parent | 66326a5ee0869f1ee4d136a477e6effba428b3cb (diff) | |
download | frameworks_av-34769bc913e9f6bb138e666d94a9d685bf3da217.zip frameworks_av-34769bc913e9f6bb138e666d94a9d685bf3da217.tar.gz frameworks_av-34769bc913e9f6bb138e666d94a9d685bf3da217.tar.bz2 |
New API to instantiate a MediaExtractor given a URI and optional MIME type.
Also DataSources now must provide a method initCheck()
and DataSource::reat_at has been renamed to readAt to conform to
standard API naming guidelines.
Diffstat (limited to 'media/libstagefright/DataSource.cpp')
-rw-r--r-- | media/libstagefright/DataSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/DataSource.cpp b/media/libstagefright/DataSource.cpp index 933c2f6..210b2f6 100644 --- a/media/libstagefright/DataSource.cpp +++ b/media/libstagefright/DataSource.cpp @@ -28,7 +28,7 @@ bool DataSource::getUInt16(off_t offset, uint16_t *x) { *x = 0; uint8_t byte[2]; - if (read_at(offset, byte, 2) != 2) { + if (readAt(offset, byte, 2) != 2) { return false; } |