From 5a65e30064dc8dffa4f3d868f1c46038972c40c5 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 24 May 2011 15:15:42 -0700 Subject: Make sure all references to the decoder plugin are accounted for before calling dlunload(). Change-Id: I59aa1d19edf566b8a86a6f73b1c2eeb47c96b0de related-to-bug: 4466387 --- media/libstagefright/include/SoftOMXComponent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'media/libstagefright/include/SoftOMXComponent.h') 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(); -- cgit v1.1