Skip to content
Snippets Groups Projects
Commit 51ce2f5b authored by Xiang Li's avatar Xiang Li
Browse files

Align crate and destroy for m_acMergeBuffer when JVET_L0054_MMVD is on.

parent e9bf7ed5
No related branches found
No related tags found
No related merge requests found
...@@ -281,7 +281,11 @@ void EncCu::destroy() ...@@ -281,7 +281,11 @@ void EncCu::destroy()
m_pImvTempCS = nullptr; m_pImvTempCS = nullptr;
} }
#if JVET_L0054_MMVD
for (unsigned ui = 0; ui < MMVD_MRG_MAX_RD_BUF_NUM; ui++)
#else
for( unsigned ui = 0; ui < MRG_MAX_NUM_CANDS; ui++ ) for( unsigned ui = 0; ui < MRG_MAX_NUM_CANDS; ui++ )
#endif
{ {
m_acMergeBuffer[ui].destroy(); m_acMergeBuffer[ui].destroy();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment