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

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


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

packetizer: flac: initialize all callback fields

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

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

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

diff --git a/modules/packetizer/flac.c b/modules/packetizer/flac.c
index 81781921a0..1eab03fdf8 100644
--- a/modules/packetizer/flac.c
+++ b/modules/packetizer/flac.c
@@ -561,6 +561,7 @@ static int Open(vlc_object_t *p_this)
     /* */
     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