mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 02:20:06 +08:00
[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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user