[vlc-commits] access: bluray: missing es_format_Init

Francois Cartegnie git at videolan.org
Mon May 22 15:48:26 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon May 22 14:42:14 2017 +0200| [c90997ce8fc5417c51285c9d800f84d960ce2f52] | committer: Francois Cartegnie

access: bluray: missing es_format_Init

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

 modules/access/bluray.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 4bd03dfac4..aa3be20177 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -995,6 +995,7 @@ 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) {



More information about the vlc-commits mailing list