[vpu_api_legacy] no return error in decode_sendstream when list is full

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@945 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenSiyong
2016-06-21 10:06:45 +00:00
parent 89720baea2
commit ebf573f623

View File

@@ -137,13 +137,8 @@ RK_S32 VpuApi::decode_sendstream(VideoPacket_t *pkt)
mpp_log("decode_sendstream set eos");
mpp_packet_set_eos(mpkt);
}
ret = mpi->decode_put_packet(mpp_ctx, mpkt);
if (ret == MPP_OK) {
if (mpi->decode_put_packet(mpp_ctx, mpkt) == MPP_OK) {
pkt->size = 0;
} else {
mpp_err("decode_put_packet ret %d\n", ret);
}
mpp_packet_deinit(&mpkt);
return ret;