mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-03 16:25:31 +00:00
Fix ensure_buf_size() usage in RK backend
This commit is contained in:
parent
1feeab9c71
commit
62007b912e
@ -363,8 +363,7 @@ int rk_setup(int videoFormat, int width, int height, int redrawRate, void* conte
|
|||||||
|
|
||||||
// MPI SETUP
|
// MPI SETUP
|
||||||
|
|
||||||
pkt_buf = ensure_buf_size(&pkt_buf, &pkt_buf_size, INITIAL_DECODER_BUFFER_SIZE);
|
ensure_buf_size(&pkt_buf, &pkt_buf_size, INITIAL_DECODER_BUFFER_SIZE);
|
||||||
assert(pkt_buf);
|
|
||||||
ret = mpp_packet_init(&mpi_packet, pkt_buf, pkt_buf_size);
|
ret = mpp_packet_init(&mpi_packet, pkt_buf, pkt_buf_size);
|
||||||
assert(!ret);
|
assert(!ret);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user