[vlc-devel] [PATCH] stream_out:mosaic_bridge: clean the local es_format_t after it's used
Steve Lhomme
robux4 at videolabs.io
Wed Jul 12 16:51:13 CEST 2017
---
modules/stream_out/mosaic_bridge.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index 3b02737f31..5d61f7f497 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -393,6 +393,7 @@ static sout_stream_id_sys_t * Add( sout_stream_t *p_stream, const es_format_t *p
if( p_sys->i_chroma )
fmt.video.i_chroma = p_sys->i_chroma;
filter_chain_Reset( p_sys->p_vf2, &fmt, &fmt );
+ es_format_Clean( &fmt );
filter_chain_AppendFromString( p_sys->p_vf2, psz_chain );
free( psz_chain );
}
--
2.12.1
More information about the vlc-devel
mailing list