[vlc-devel] [PATCH 02/11] packetizer: avparser: initialize all callback fields

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


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

diff --git a/modules/packetizer/avparser.c b/modules/packetizer/avparser.c
index 5ec26f4..fb6f0b5 100644
--- a/modules/packetizer/avparser.c
+++ b/modules/packetizer/avparser.c
@@ -128,6 +128,7 @@ int avparser_OpenPacketizer( vlc_object_t *p_this )
     }
     p_dec->pf_packetize = Packetize;
     p_dec->pf_flush = FlushPacketizer;
+    p_dec->pf_get_cc = NULL;
     p_sys->p_parser_ctx = p_ctx;
     p_sys->p_codec_ctx = p_codec_ctx;
     p_sys->i_offset = 0;
-- 
2.9.5





More information about the vlc-devel mailing list