diff options
author | Jamie Gennis <jgennis@google.com> | 2010-11-04 11:18:14 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-04 11:18:14 -0700 |
commit | a3d7a3174b600a0df3cf452b708c940e93bb651a (patch) | |
tree | 194dffb2cbffbc589080b092d03a394fa2724f10 /include | |
parent | 23580e7cc8102a0502ae662a12562dd388fd3e65 (diff) | |
parent | ed45fe0730a7e7fc9944741428f5a484350acc8a (diff) | |
download | frameworks_av-a3d7a3174b600a0df3cf452b708c940e93bb651a.zip frameworks_av-a3d7a3174b600a0df3cf452b708c940e93bb651a.tar.gz frameworks_av-a3d7a3174b600a0df3cf452b708c940e93bb651a.tar.bz2 |
Merge "Fix a MediaBuffer leak in Stagefright."
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/OMXCodec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h index 0f4fbfb..b2af9d7 100644 --- a/include/media/stagefright/OMXCodec.h +++ b/include/media/stagefright/OMXCodec.h @@ -241,6 +241,8 @@ private: status_t freeBuffersOnPort( OMX_U32 portIndex, bool onlyThoseWeOwn = false); + status_t freeBuffer(OMX_U32 portIndex, size_t bufIndex); + void drainInputBuffer(IOMX::buffer_id buffer); void fillOutputBuffer(IOMX::buffer_id buffer); void drainInputBuffer(BufferInfo *info); |