Fix invalid reference frame invalidation payload when dropping an early frame

This bug causes the request to be discarded on GFE 3.17.
This commit is contained in:
Cameron Gutman 2019-01-18 01:37:02 -08:00
parent f884003066
commit 9360adb39a

View File

@ -455,7 +455,7 @@ static void requestIdrFrame(void) {
// Form the payload // Form the payload
if (lastSeenFrame < 0x20) { if (lastSeenFrame < 0x20) {
payload[0] = 0; payload[0] = 0;
payload[1] = 0x20; payload[1] = lastSeenFrame;
} }
else { else {
payload[0] = lastSeenFrame - 0x20; payload[0] = lastSeenFrame - 0x20;