[gvar] Skip degenerate all-untouched delta-sets

This commit is contained in:
Behdad Esfahbod 2022-11-22 14:21:25 -07:00
parent 656bb223f1
commit 44be8ef4ce
1 changed files with 1 additions and 1 deletions

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++)