mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
mve: ensure best target found
This commit is contained in:
parent
c004a1e462
commit
6b71ccb552
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue