vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jul 10 10:13:24 
2017 +0200| [2bd083899166e637577707287dd1deacce6e3180] | committer: 
Jean-Baptiste Kempf

demux: mpegv: no need to initialize the es_format_t twice

It won't be modified during the demux_PacketizerNew() call.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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 )
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to