[vlc-devel] [PATCH 1/4] access:bluray: don't init an es_format_t before calling es_format_Copy()

Steve Lhomme robux4 at videolabs.io
Sun Jul 9 10:27:44 CEST 2017


---
 modules/access/bluray.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index bdd3ffac80..b76ef250e8 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -993,7 +993,6 @@ static es_out_id_t *esOutAdd(es_out_t *p_out, const es_format_t *p_fmt)
     es_format_t fmt;
     bool b_select = false;
 
-    es_format_Init(&fmt, p_fmt->i_cat, p_fmt->i_codec);
     es_format_Copy(&fmt, p_fmt);
 
     switch (fmt.i_cat) {
-- 
2.12.1



More information about the vlc-devel mailing list