]> granicus.if.org Git - libass/commitdiff
Don't initialize bitmap hash key with bogus values
authorGrigori Goronzy <greg@blackbox>
Sun, 1 Aug 2010 04:31:31 +0000 (06:31 +0200)
committerGrigori Goronzy <greg@blackbox>
Sun, 1 Aug 2010 04:31:31 +0000 (06:31 +0200)
libass/ass_render.c

index 21929d9b12302a6d6082dd314b7ad187e2c27b94..c9df30633236b45756037fb799c18de12a18b985 100644 (file)
@@ -1703,8 +1703,6 @@ fill_bitmap_hash(ASS_Renderer *priv, BitmapHashKey *hash_key,
     hash_key->frz = rot_key(priv->state.frz);
     hash_key->fax = double_to_d16(priv->state.fax);
     hash_key->fay = double_to_d16(priv->state.fay);
-    hash_key->advance.x = pen.x;
-    hash_key->advance.y = pen.y;
     hash_key->be = priv->state.be;
     hash_key->blur = priv->state.blur;
     hash_key->border_style = priv->state.style->BorderStyle;