diff options
author | Marco Nelissen <marcone@google.com> | 2015-01-29 19:19:47 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-29 19:19:48 +0000 |
commit | 2a6e5cf4e8b39e3b0b540d3cf49568c61e9d67cd (patch) | |
tree | 6f22dffcad47944a4ade6fd33ff5ada9726c4d28 | |
parent | 166776fbbeb74e28a736681a5edd355013b976ad (diff) | |
parent | 13b97d6ece762cd96a7c3d3e3d60583104d1c0bc (diff) | |
download | frameworks_av-2a6e5cf4e8b39e3b0b540d3cf49568c61e9d67cd.zip frameworks_av-2a6e5cf4e8b39e3b0b540d3cf49568c61e9d67cd.tar.gz frameworks_av-2a6e5cf4e8b39e3b0b540d3cf49568c61e9d67cd.tar.bz2 |
Merge "Fix uninitialized variable."
-rw-r--r-- | media/libmedia/MidiIoWrapper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libmedia/MidiIoWrapper.cpp b/media/libmedia/MidiIoWrapper.cpp index 2181111..5197ce2 100644 --- a/media/libmedia/MidiIoWrapper.cpp +++ b/media/libmedia/MidiIoWrapper.cpp @@ -48,6 +48,8 @@ MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { } MidiIoWrapper::MidiIoWrapper(const sp<DataSource> &source) { + ALOGV("MidiIoWrapper(DataSource)"); + mFd = -1; mDataSource = source; off64_t l; if (mDataSource->getSize(&l) == OK) { @@ -76,7 +78,7 @@ int MidiIoWrapper::readAt(void *buffer, int offset, int size) { } int MidiIoWrapper::size() { - ALOGV("size() = %d", mLength); + ALOGV("size() = %d", int(mLength)); return mLength; } |