]> granicus.if.org Git - libass/commitdiff
Fix box blur for non-bordered outlines
authorGrigori Goronzy <greg@blackbox>
Mon, 4 Jul 2011 08:06:02 +0000 (10:06 +0200)
committerGrigori Goronzy <greg@blackbox>
Mon, 4 Jul 2011 08:06:02 +0000 (10:06 +0200)
This horrible bug was introduced by commit c13cb2.

Pointed out by uau.

libass/ass_bitmap.c

index 7f93e22c85caa3286c7d0fd8eabeaf5a87260f20..1f834c47808636cdcec9ff33753a3b2c65764393 100644 (file)
@@ -486,7 +486,7 @@ int outline_to_bitmap3(ASS_Library *library, ASS_SynthPriv *priv_blur,
         if (*bm_o)
             be_blur(*bm_o);
         else
-            be_blur(*bm_o);
+            be_blur(*bm_g);
     }
 
     // Apply gaussian blur