vlc | branch: master | Zhao Zhili <[email protected]> | Tue Jun 19 20:11:42 2018 +0800| [2b1a177aa52490cb085f5181e43f90b9b4f56a2b] | committer: Thomas Guillem
packetizer: mpegaudio: initialize all callback fields Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b1a177aa52490cb085f5181e43f90b9b4f56a2b --- modules/packetizer/mpegaudio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/packetizer/mpegaudio.c b/modules/packetizer/mpegaudio.c index ab01b5b5c4..cb8dd12c1e 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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
