[vlc-devel] commit: Fixed subusf rendering. (Laurent Aimar )

git version control git at videolan.org
Wed Sep 17 20:41:44 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Sep 17 20:24:59 2008 +0200| [cc0ba3530e0c731510b7399415b7a0b9fc743e4b] | committer: Laurent Aimar 

Fixed subusf rendering.

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

 modules/codec/subtitles/subsusf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/subtitles/subsusf.c b/modules/codec/subtitles/subsusf.c
index 2d6837b..c603532 100644
--- a/modules/codec/subtitles/subsusf.c
+++ b/modules/codec/subtitles/subsusf.c
@@ -84,8 +84,8 @@ static int OpenDecoder( vlc_object_t *p_this )
 
     /* init of p_sys */
     p_sys->i_align = 0;
-    p_sys->i_original_height = -1;
-    p_sys->i_original_width = -1;
+    p_sys->i_original_height = 0;
+    p_sys->i_original_width = 0;
     TAB_INIT( p_sys->i_ssa_styles, p_sys->pp_ssa_styles );
     TAB_INIT( p_sys->i_images, p_sys->pp_images );
 




More information about the vlc-devel mailing list