[vlc-commits] codec: telx: remove useless initialization

Francois Cartegnie git at videolan.org
Tue Jul 23 15:23:59 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul 23 10:17:16 2019 +0200| [87f741459188c0259d7aa5d73edc35f6e40b56e7] | committer: Francois Cartegnie

codec: telx: remove useless initialization

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

 modules/codec/telx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/codec/telx.c b/modules/codec/telx.c
index 53a354bd77..98d3a30fbb 100644
--- a/modules/codec/telx.c
+++ b/modules/codec/telx.c
@@ -685,8 +685,6 @@ static int Decode( decoder_t *p_dec, block_t *p_block )
 
     /* Create a new subpicture region */
     video_format_Init(&fmt, VLC_CODEC_TEXT);
-    fmt.i_width = fmt.i_height = 0;
-    fmt.i_x_offset = fmt.i_y_offset = 0;
     p_spu->p_region = subpicture_region_New( &fmt );
     if( p_spu->p_region == NULL )
     {



More information about the vlc-commits mailing list