Commit 97cd77ef authored by Zhao Zhili's avatar Zhao Zhili Committed by Thomas Guillem

codec: lpcm: prepare to put pf_packetize and pf_decode into a union

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 1c820ca4
......@@ -295,7 +295,9 @@ static int OpenCommon( decoder_t *p_dec, bool b_packetizer )
}
/* Set callback */
if( !b_packetizer )
p_dec->pf_decode = DecodeFrame;
else
p_dec->pf_packetize = Packetize;
p_dec->pf_flush = Flush;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment