[vlc-devel] [PATCH 09/11] packetizer: mpeg4video: initialize all callback fields

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


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

diff --git a/modules/packetizer/mpeg4video.c b/modules/packetizer/mpeg4video.c
index 63406e5..fb0abeb 100644
--- a/modules/packetizer/mpeg4video.c
+++ b/modules/packetizer/mpeg4video.c
@@ -168,6 +168,7 @@ static int Open( vlc_object_t *p_this )
     /* Set callback */
     p_dec->pf_packetize = Packetize;
     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