[vlc-commits] packetizer: mlp: initialize all callback fields

Zhao Zhili git at videolan.org
Wed Jun 20 14:45:18 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Tue Jun 19 20:11:39 2018 +0800| [94267c2236ce05555b95a12c77a0759e1ed38b9e] | committer: Thomas Guillem

packetizer: mlp: initialize all callback fields

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 modules/packetizer/mlp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/packetizer/mlp.c b/modules/packetizer/mlp.c
index 6f16e6c8c3..87381937c3 100644
--- a/modules/packetizer/mlp.c
+++ b/modules/packetizer/mlp.c
@@ -494,6 +494,7 @@ static int Open( vlc_object_t *p_this )
     /* Set callback */
     p_dec->pf_packetize = Packetize;
     p_dec->pf_flush     = Flush;
+    p_dec->pf_get_cc    = NULL;
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list