[vlc-commits] access:bluray: don't init an es_format_t before calling es_format_Copy()
Steve Lhomme
git at videolan.org
Sun Jul 9 11:12:25 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Sun Jul 9 10:27:44 2017 +0200| [a78c0dc0aed06bd9121c3d80d76bd8f534011fef] | committer: Rémi Denis-Courmont
access:bluray: don't init an es_format_t before calling es_format_Copy()
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a78c0dc0aed06bd9121c3d80d76bd8f534011fef
---
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) {
More information about the vlc-commits
mailing list