[vlc-commits] packetizer: mjpeg: initialize all callback fields
    Zhao Zhili 
    git at videolan.org
       
    Wed Jun 20 14:45:17 CEST 2018
    
    
  
vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Tue Jun 19 20:11:38 2018 +0800| [3445d07018f67631369b2997796005f97f76beeb] | committer: Thomas Guillem
packetizer: mjpeg: initialize all callback fields
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3445d07018f67631369b2997796005f97f76beeb
---
 modules/packetizer/mjpeg.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/packetizer/mjpeg.c b/modules/packetizer/mjpeg.c
index 504dee28af..cd055803b0 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;
 }
    
    
More information about the vlc-commits
mailing list