[vlc-devel] [PATCH 10/11] packetizer: mpegaudio: initialize all callback fields

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


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

diff --git a/modules/packetizer/mpegaudio.c b/modules/packetizer/mpegaudio.c
index ab01b5b..cb8dd12 100644
--- a/modules/packetizer/mpegaudio.c
+++ b/modules/packetizer/mpegaudio.c
@@ -646,6 +646,7 @@ static int Open( vlc_object_t *p_this )
     /* Set callback */
     p_dec->pf_packetize    = DecodeBlock;
     p_dec->pf_flush        = Flush;
+    p_dec->pf_get_cc       = NULL;
 
     /* Start with the minimum size for a free bitrate frame */
     p_sys->i_free_frame_size = MPGA_HEADER_SIZE;
-- 
2.9.5



More information about the vlc-devel mailing list