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

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


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

packetizer: mpeg4audio: initialize all callback fields

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

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

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

diff --git a/modules/packetizer/mpeg4audio.c b/modules/packetizer/mpeg4audio.c
index 9c571c3c7e..ed12a11f51 100644
--- a/modules/packetizer/mpeg4audio.c
+++ b/modules/packetizer/mpeg4audio.c
@@ -297,6 +297,7 @@ static int OpenPacketizer(vlc_object_t *p_this)
     /* Set callbacks */
     p_dec->pf_packetize = Packetize;
     p_dec->pf_flush = Flush;
+    p_dec->pf_get_cc = NULL;
 
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list