[vlc-devel] [PATCH 06/11] packetizer: mjpeg: initialize all callback fields

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


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

diff --git a/modules/packetizer/mjpeg.c b/modules/packetizer/mjpeg.c
index 504dee2..cd05580 100644
--- a/modules/packetizer/mjpeg.c
+++ b/modules/packetizer/mjpeg.c
@@ -206,6 +206,7 @@ static int Open( vlc_object_t *p_this )
 
     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