mve: ensure best target found
This commit is contained in:
parent
c004a1e462
commit
6b71ccb552
@ -285,6 +285,9 @@ mve_quantize (const GstMveMux * mve, const guint16 * src,
|
||||
}
|
||||
}
|
||||
|
||||
if (G_UNLIKELY (!best))
|
||||
continue;
|
||||
|
||||
++best->hits;
|
||||
best->r_total += r;
|
||||
best->g_total += g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user