summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/SoftOMXComponent.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-05-24 15:15:42 -0700
committerAndreas Huber <andih@google.com>2011-05-24 15:15:42 -0700
commit5a65e30064dc8dffa4f3d868f1c46038972c40c5 (patch)
treeba3fa8c6f095e6ca214d8465525a32738a26a8b5 /media/libstagefright/include/SoftOMXComponent.h
parentf2af5a2c607e71ff4cd39da28b077c0a68b206fe (diff)
downloadframeworks_av-5a65e30064dc8dffa4f3d868f1c46038972c40c5.zip
frameworks_av-5a65e30064dc8dffa4f3d868f1c46038972c40c5.tar.gz
frameworks_av-5a65e30064dc8dffa4f3d868f1c46038972c40c5.tar.bz2
Make sure all references to the decoder plugin are accounted for
before calling dlunload(). Change-Id: I59aa1d19edf566b8a86a6f73b1c2eeb47c96b0de related-to-bug: 4466387
Diffstat (limited to 'media/libstagefright/include/SoftOMXComponent.h')
-rw-r--r--media/libstagefright/include/SoftOMXComponent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/include/SoftOMXComponent.h b/media/libstagefright/include/SoftOMXComponent.h
index 053bc22..a808611 100644
--- a/media/libstagefright/include/SoftOMXComponent.h
+++ b/media/libstagefright/include/SoftOMXComponent.h
@@ -38,6 +38,8 @@ struct SoftOMXComponent : public RefBase {
void setLibHandle(void *libHandle);
void *libHandle() const;
+ virtual void prepareForDestruction() {}
+
protected:
virtual ~SoftOMXComponent();