Commit 93a7d86e authored by Frank Bossen's avatar Frank Bossen
Browse files

Fix issue reported by address sanitizer

Use roundTransPrecInternal2Amvr() instead of
roundIbcPrecInternal2Amvr() since half-pel precision is not
supported by the latter
parent 830e8a63
......@@ -2749,7 +2749,7 @@ void InterSearch::predInterSearch(CodingUnit& cu, Partitioner& partitioner)
{
if (mvPrecAdj && pu.cu->imv)
{
mvCand.roundIbcPrecInternal2Amvr(pu.cu->imv);
mvCand.roundTransPrecInternal2Amvr(pu.cu->imv);
}
bool toAddMvCand = true;
......@@ -8169,4 +8169,4 @@ bool InterSearch::searchBv(PredictionUnit& pu, int xPos, int yPos, int width, in
}
#endif
//! \}
\ No newline at end of file
//! \}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment