Skip to content

Commit

Permalink
[Encode] Move unnecessary noexcept (#6726)
Browse files Browse the repository at this point in the history
Co-authored-by: Chen, Bohan <[email protected]>
  • Loading branch information
gfxVPLsdm and Chen, Bohan authored May 13, 2024
1 parent 241afea commit 69a1202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ static void FillSortedFwdBwd(
using DisplayOrderToDPBIndex = std::map<mfxI32, mfxU8>;
using Ref = DisplayOrderToDPBIndex::const_reference;
auto GetIdx = [](Ref ref) {return ref.second; };
auto IsBwd = [=](Ref ref) noexcept {return ref.first > task.DisplayOrderInGOP; };
auto IsBwd = [=](Ref ref) {return ref.first > task.DisplayOrderInGOP; };

DisplayOrderToDPBIndex uniqueRefs;
const mfxExtRefListCtrl* refListCtrl = ExtBuffer::Get(task.ctrl);
Expand Down
2 changes: 1 addition & 1 deletion _studio/mfx_lib/encode_hw/h264/src/mfx_h264_encode_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ ImplementationAvc::ImplementationAvc(VideoCORE * core)
memset(&m_mbqpInfo, 0, sizeof(m_mbqpInfo));
}

ImplementationAvc::~ImplementationAvc() noexcept
ImplementationAvc::~ImplementationAvc()
{
amtScd.Close();
#ifdef MFX_ENABLE_EXT
Expand Down

0 comments on commit 69a1202

Please sign in to comment.