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

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


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

packetizer: dts: initialize all callback fields

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

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

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

diff --git a/modules/packetizer/dts.c b/modules/packetizer/dts.c
index 12245c2bcb..980b409367 100644
--- a/modules/packetizer/dts.c
+++ b/modules/packetizer/dts.c
@@ -366,5 +366,6 @@ static int Open( vlc_object_t *p_this )
     /* Set callback */
     p_dec->pf_packetize = PacketizeBlock;
     p_dec->pf_flush     = PacketizeFlush;
+    p_dec->pf_get_cc    = NULL;
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list