diff options
author | Marco Nelissen <marcone@google.com> | 2014-05-21 16:08:05 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-21 16:08:05 +0000 |
commit | 7ac0039611ea7ea18f9545f96a8f5cb31dcdebe5 (patch) | |
tree | 853bd14855c46f874c7a6d5976b2fc3e1f2076f7 /media | |
parent | 498692535c7ceecb3434a99c47e4c90ba3fdd90e (diff) | |
parent | 0e03cf07deeda10c573657479591dcfbf1efca56 (diff) | |
download | frameworks_av-7ac0039611ea7ea18f9545f96a8f5cb31dcdebe5.zip frameworks_av-7ac0039611ea7ea18f9545f96a8f5cb31dcdebe5.tar.gz frameworks_av-7ac0039611ea7ea18f9545f96a8f5cb31dcdebe5.tar.bz2 |
Merge "Remove the last of the references."
Diffstat (limited to 'media')
-rw-r--r-- | media/ndk/NdkMediaMuxer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/ndk/NdkMediaMuxer.cpp b/media/ndk/NdkMediaMuxer.cpp index 19b9fc4..50fc336 100644 --- a/media/ndk/NdkMediaMuxer.cpp +++ b/media/ndk/NdkMediaMuxer.cpp @@ -96,10 +96,10 @@ media_status_t AMediaMuxer_stop(AMediaMuxer *muxer) { EXPORT media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer, - size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo &info) { - sp<ABuffer> buf = new ABuffer((void*)(data + info.offset), info.size); + size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) { + sp<ABuffer> buf = new ABuffer((void*)(data + info->offset), info->size); return translate_error( - muxer->mImpl->writeSampleData(buf, trackIdx, info.presentationTimeUs, info.flags)); + muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags)); } |