Commit 018ca8b7 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '79a60c8e'

* commit '79a60c8e':
  hevc_mvs: initialize the temporal MV in case of missing ref
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0026c4ec 79a60c8e
......@@ -227,8 +227,10 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0,
HEVCFrame *ref = s->ref->collocated_ref;
if (!ref)
if (!ref) {
memset(mvLXCol, 0, sizeof(*mvLXCol));
return 0;
}
tab_mvf = ref->tab_mvf;
colPic = ref->poc;
......
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