Commit 2b1a177a authored by Zhao Zhili's avatar Zhao Zhili Committed by Thomas Guillem

packetizer: mpegaudio: initialize all callback fields

Signed-off-by: Thomas Guillem's avatarThomas Guillem <>
parent 41b959af
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment