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:
@@ -614,6 +614,7 @@ MPP_RET test_mpp_run(MpiEncTestData *p)
|
||||
mpp_frame_set_eos(p->frame, p->frm_eos);
|
||||
|
||||
mpp_packet_init_with_buffer(&packet, pkt_buf_out);
|
||||
mpp_packet_set_length(packet, 0);
|
||||
|
||||
ret = mpi->poll(ctx, MPP_PORT_INPUT, MPP_POLL_BLOCK);
|
||||
if (ret) {
|
||||
|
Reference in New Issue
Block a user