mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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