[vlc-commits] packetizer: mpeg4video: initialize all callback fields

Zhao Zhili git at videolan.org
Wed Jun 20 14:45:20 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Tue Jun 19 20:11:41 2018 +0800| [41b959afaa0a8e78c34b77a68c606b8d287450d9] | committer: Thomas Guillem

packetizer: mpeg4video: initialize all callback fields

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41b959afaa0a8e78c34b77a68c606b8d287450d9
---

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

diff --git a/modules/packetizer/mpeg4video.c b/modules/packetizer/mpeg4video.c
index 63406e569d..fb0abebda6 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;
 }



More information about the vlc-commits mailing list