[vlc-commits] codec: substx3g: fix alignment

Francois Cartegnie git at videolan.org
Wed Dec 20 15:37:17 CET 2017


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Dec 20 12:34:08 2017 +0100| [81c6a5f6c3c9248b0f4f960ea058b92641ac3da2] | committer: Francois Cartegnie

codec: substx3g: fix alignment

(cherry picked from commit f3b52fead11def19e74fa38e30c339c1314ea669)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=81c6a5f6c3c9248b0f4f960ea058b92641ac3da2
---

 modules/codec/substx3g.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/substx3g.c b/modules/codec/substx3g.c
index 0035b97422..cc7c3de98f 100644
--- a/modules/codec/substx3g.c
+++ b/modules/codec/substx3g.c
@@ -434,7 +434,7 @@ static int Decode( decoder_t *p_dec, block_t *p_block )
     p_spu->b_ephemer  = (p_block->i_length == 0);
     p_spu->b_absolute = false;
 
-    p_spu_sys->region.inner_align = SUBPICTURE_ALIGN_BOTTOM;
+    p_spu_sys->region.align = SUBPICTURE_ALIGN_BOTTOM;
 
     FontSizeConvert( p_dec->fmt_in.subs.p_style,  p_spu_sys->p_default_style );
 



More information about the vlc-commits mailing list