summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2010-08-01 06:31:31 +0200
committerGrigori Goronzy <greg@blackbox>2010-08-01 06:31:31 +0200
commit1c3673c4d4e22a25a09efdac1bebb947706d6ff1 (patch)
tree95744c7ccbc36fafe61c3233383f353eae8b183a /libass/ass_render.c
parentc203da6f246bf07356d5b6f0a71aee585c373bcb (diff)
downloadlibass-1c3673c4d4e22a25a09efdac1bebb947706d6ff1.tar.bz2
libass-1c3673c4d4e22a25a09efdac1bebb947706d6ff1.tar.xz
Don't initialize bitmap hash key with bogus values
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r--libass/ass_render.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 21929d9..c9df306 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -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;