[gvar] Skip degenerate all-untouched delta-sets

This commit is contained in:
Behdad Esfahbod committed 2022-11-22 14:21:25 -07:00
1 parent 656bb223f1
commit 44be8ef4ce
1 file changed
+1 -1
+1 -1
View File
@@ -636,7 +636,7 @@ struct gvar
}
/* infer deltas for unreferenced points */
if (ref_points < orig_points.length)
if (ref_points && ref_points < orig_points.length)
{
unsigned start_point = 0;
for (unsigned c = 0; c < end_points.length; c++)