[vlc-commits] STL: remove NULL assignment after calloc

Jean-Baptiste Kempf git at videolan.org
Sun May 3 18:27:48 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May  3 16:55:13 2015 +0200| [7385062ddbc792e3d1cab682afd9110150024349] | committer: Jean-Baptiste Kempf

STL: remove NULL assignment after calloc

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

 modules/codec/stl.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/stl.c b/modules/codec/stl.c
index 361e753..b65fc16 100644
--- a/modules/codec/stl.c
+++ b/modules/codec/stl.c
@@ -147,7 +147,6 @@ static subpicture_t *Decode(decoder_t *dec, block_t **block)
                                             payload_size,
                                             cct_nums[dec->p_sys->cct - CCT_BEGIN].str);
         sub->p_region->i_align = SUBPICTURE_ALIGN_BOTTOM;
-        sub->p_region->psz_html = NULL;
     }
 
     free(payload);



More information about the vlc-commits mailing list