mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 06:11:03 +00:00
Remove unused parameter
This commit is contained in:
@@ -313,8 +313,7 @@ static int isFirstPacket(char flags) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Adds a fragment directly to the queue */
|
/* Adds a fragment directly to the queue */
|
||||||
static void processRtpPayloadFast(PNV_VIDEO_PACKET videoPacket, BUFFER_DESC location) {
|
static void processRtpPayloadFast(BUFFER_DESC location) {
|
||||||
// FIXME not using videoPacket parameter??
|
|
||||||
queueFragment(location.data, location.offset, location.length);
|
queueFragment(location.data, location.offset, location.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -439,7 +438,7 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length) {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
processRtpPayloadFast(videoPacket, currentPos);
|
processRtpPayloadFast(currentPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flags & FLAG_EOF) {
|
if (flags & FLAG_EOF) {
|
||||||
|
|||||||
Reference in New Issue
Block a user