Skip to content

Commit

Permalink
[RT Common] Fix CentOS build failure (#6126)
Browse files Browse the repository at this point in the history
Co-authored-by: Liu, Rachel <[email protected]>
  • Loading branch information
gfxVPLsdm and rachel-liu1024 authored Nov 23, 2023
1 parent 665e882 commit aa99bda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _studio/mfx_lib/shared/src/libmfxsw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,10 @@ mfxStatus MFXClose(mfxSession session)
{
MFX_LTRACE_I(MFX_TRACE_LEVEL_API, mfxRes);
}
catch(const std::ios_base::failure &ex)
catch(...)
{
MFX_RETURN(mfxStatus(ex.code().value()));
// set the default error value
mfxRes = MFX_ERR_UNKNOWN;
}

return mfxRes;
Expand Down

0 comments on commit aa99bda

Please sign in to comment.