[vlc-devel] [PATCH] FakeESOut: fix uninitialized member
Alexandre Janniaux
ajanni at videolabs.io
Fri Mar 20 13:36:23 CET 2020
priv_control must be NULL if created from a module.
---
modules/demux/adaptive/plumbing/FakeESOut.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index 5ada11dd5d..72aabafa4b 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -58,6 +58,7 @@ const struct es_out_callbacks EsOutCallbacks::cbs =
EsOutCallbacks::es_out_Del,
EsOutCallbacks::es_out_Control,
EsOutCallbacks::es_out_Destroy,
+ nullptr,
};
es_out_id_t * EsOutCallbacks::es_out_Add(es_out_t *fakees, input_source_t *, const es_format_t *p_fmt)
--
2.25.2
More information about the vlc-devel
mailing list