mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 06:11:03 +00:00
Fix failed queue offer code
This commit is contained in:
@@ -106,7 +106,9 @@ static void reassembleFrame(void) {
|
|||||||
nalChainHead = NULL;
|
nalChainHead = NULL;
|
||||||
nalChainDataLength = 0;
|
nalChainDataLength = 0;
|
||||||
|
|
||||||
if (!LbqOfferQueueItem(&decodeUnitQueue, du)) {
|
if (LbqOfferQueueItem(&decodeUnitQueue, du) == LBQ_BOUND_EXCEEDED) {
|
||||||
|
Limelog("Decode unit queue overflow\n");
|
||||||
|
|
||||||
nalChainHead = du->bufferList;
|
nalChainHead = du->bufferList;
|
||||||
nalChainDataLength = du->fullLength;
|
nalChainDataLength = du->fullLength;
|
||||||
free(du);
|
free(du);
|
||||||
|
|||||||
Reference in New Issue
Block a user