[vlc-commits] ts_sl: remove no-op

Steve Lhomme git at videolan.org
Wed Jul 12 12:22:34 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Jul 10 10:10:21 2017 +0200| [bfd37c9dff71b0e69da827a5d3c8349f70626946] | committer: Jean-Baptiste Kempf

ts_sl: remove no-op

The string is already freed and reset in es_format_Clean().

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mpeg/ts_sl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mpeg/ts_sl.c b/modules/demux/mpeg/ts_sl.c
index 594f3080b4..03369be178 100644
--- a/modules/demux/mpeg/ts_sl.c
+++ b/modules/demux/mpeg/ts_sl.c
@@ -178,7 +178,6 @@ void SLPackets_Section_Handler( demux_t *p_demux,
                     if( p_es->id )
                         es_out_Del( p_demux->out, p_es->id );
                     p_es->fmt.b_packetized = true; /* Split by access unit, no sync code */
-                    FREENULL( p_es->fmt.psz_description );
                     p_es->id = es_out_Add( p_demux->out, &p_es->fmt );
                     b_changed = true;
                 }



More information about the vlc-commits mailing list