mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[test]: init encoder output packet length to zero
Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com> Change-Id: Iae1bdf28104ea7d7dc9929c267556fe6bf36299b
This commit is contained in:
@@ -731,6 +731,7 @@ static MPP_RET mpi_rc_codec(MpiRcTestCtx *ctx)
|
||||
mpp_frame_set_eos(frame_in, frm_eos);
|
||||
|
||||
mpp_packet_init_with_buffer(&packet, pkt_buf_out);
|
||||
mpp_packet_set_length(packet, 0);
|
||||
|
||||
ret = enc_mpi->poll(enc_ctx, MPP_PORT_INPUT, MPP_POLL_BLOCK);
|
||||
if (ret) {
|
||||
|
Reference in New Issue
Block a user