[vlc-commits] dvbsub: Remove write only variable.

Hugo Beauzée-Luyssen git at videolan.org
Mon Apr 16 10:43:05 CEST 2012


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Apr 12 14:57:09 2012 +0200| [0a3e03342abe4362d2bdb060e0b3bc5eca9c66b1] | committer: Hugo Beauzée-Luyssen

dvbsub: Remove write only variable.

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

 modules/codec/dvbsub.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c
index 0d9b61b..e85e02f 100644
--- a/modules/codec/dvbsub.c
+++ b/modules/codec/dvbsub.c
@@ -1475,7 +1475,7 @@ static subpicture_t *render( decoder_t *p_dec )
     decoder_sys_t *p_sys = p_dec->p_sys;
     subpicture_t *p_spu;
     subpicture_region_t **pp_spu_region;
-    int i, j, i_timeout = 0;
+    int i, j;
     int i_base_x;
     int i_base_y;
 
@@ -1536,8 +1536,6 @@ static subpicture_t *render( decoder_t *p_dec )
         video_palette_t palette;
         int i_pitch;
 
-        i_timeout = p_sys->p_page->i_timeout;
-
         p_regiondef = &p_sys->p_page->p_region_defs[i];
 
         /* Find associated region */



More information about the vlc-commits mailing list