[vlc-devel] [PATCH 09/25] demux: mpegv: no need to initialize the es_format_t twice
Steve Lhomme
robux4 at videolabs.io
Mon Jul 10 16:52:13 CEST 2017
It won't be modified during the demux_PacketizerNew() call.
---
modules/demux/mpeg/mpgv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/demux/mpeg/mpgv.c b/modules/demux/mpeg/mpgv.c
index 6a44f27dea..c8d3e3ed39 100644
--- a/modules/demux/mpeg/mpgv.c
+++ b/modules/demux/mpeg/mpgv.c
@@ -129,7 +129,6 @@ static int Open( vlc_object_t * p_this )
}
/* create the output */
- es_format_Init( &fmt, VIDEO_ES, VLC_CODEC_MPGV );
p_sys->p_es = es_out_Add( p_demux->out, &fmt );
if( p_sys->p_es == NULL )
{
--
2.12.1
More information about the vlc-devel
mailing list