[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
This commit is contained in:
ChenSiyong
2015-12-16 06:29:56 +00:00
parent d99cac1e91
commit 4c86cfe54c

View File

@@ -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)