From 4c86cfe54cf7b47923a8c792df1a48dca7b80995 Mon Sep 17 00:00:00 2001 From: ChenSiyong Date: Wed, 16 Dec 2015 06:29:56 +0000 Subject: [PATCH] [vpu_api] fix fd may no close git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@513 6e48237b-75ef-9749-8fc9-41990f28c85a --- mpp/legacy/vpu_api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpp/legacy/vpu_api.cpp b/mpp/legacy/vpu_api.cpp index 5cfe5c11..f18898c7 100644 --- a/mpp/legacy/vpu_api.cpp +++ b/mpp/legacy/vpu_api.cpp @@ -215,9 +215,9 @@ RK_S32 open_orign_vpu(VpuCodecContext **ctx) return -1; } else { (*rkvpu_open_cxt)(ctx); - return MPP_OK; } dlclose(rkapi_hdl); + return MPP_OK; } RK_S32 close_orign_vpu(VpuCodecContext **ctx) @@ -241,9 +241,9 @@ RK_S32 close_orign_vpu(VpuCodecContext **ctx) return -1; } else { (*rkvpu_close_cxt)(ctx); - return MPP_OK; } dlclose(rkapi_hdl); + return MPP_OK; } #endif RK_S32 vpu_open_context(VpuCodecContext **ctx)