[vlc-commits] access: bluray: fix bogus downstream es_out reference

Francois Cartegnie git at videolan.org
Tue Jul 3 23:43:33 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul  3 23:42:34 2018 +0200| [efb7a525833315843039afe3b8e0cf154231090e] | committer: Francois Cartegnie

access: bluray: fix bogus downstream es_out reference

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

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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index b8dd93f773..f529582bef 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1040,7 +1040,7 @@ static es_out_id_t *esOutAdd(es_out_t *p_out, const es_format_t *p_fmt)
         ;
     }
 
-    es_out_id_t *p_es = es_out_Add(p_demux->out, &fmt);
+    es_out_id_t *p_es = es_out_Add(es_out_sys->p_dst_out, &fmt);
     if (p_fmt->i_id >= 0) {
         /* Ensure we are not overriding anything */
         int idx = findEsPairIndex(p_sys, p_fmt->i_id);



More information about the vlc-commits mailing list