[vlc-devel] [PATCH 01/11] packetizer: a52: initialize all callback fields

Zhao Zhili quinkblack at foxmail.com
Tue Jun 19 14:11:33 CEST 2018


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

diff --git a/modules/packetizer/a52.c b/modules/packetizer/a52.c
index 269a291..afba987 100644
--- a/modules/packetizer/a52.c
+++ b/modules/packetizer/a52.c
@@ -355,5 +355,6 @@ static int Open( vlc_object_t *p_this )
     /* Set callback */
     p_dec->pf_packetize = PacketizeBlock;
     p_dec->pf_flush     = PacketizeFlush;
+    p_dec->pf_get_cc    = NULL;
     return VLC_SUCCESS;
 }
-- 
2.9.5





More information about the vlc-devel mailing list