[vlc-devel] [PATCH 08/25] ts_sl: remove no-op

Steve Lhomme robux4 at videolabs.io
Mon Jul 10 16:52:12 CEST 2017


The string is already freed and reset in es_format_Clean().
---
 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;
                 }
-- 
2.12.1



More information about the vlc-devel mailing list