summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2010-11-04 11:18:14 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-04 11:18:14 -0700
commita3d7a3174b600a0df3cf452b708c940e93bb651a (patch)
tree194dffb2cbffbc589080b092d03a394fa2724f10 /include
parent23580e7cc8102a0502ae662a12562dd388fd3e65 (diff)
parented45fe0730a7e7fc9944741428f5a484350acc8a (diff)
downloadframeworks_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.h2
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);