mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Fix (currently) harmless bug in initial frame parsing
This commit is contained in:
parent
c9e5230e37
commit
2f082b9f85
@ -32,6 +32,9 @@ public class VideoPacket {
|
|||||||
|
|
||||||
public void initializeWithLengthNoRtpHeader(int length)
|
public void initializeWithLengthNoRtpHeader(int length)
|
||||||
{
|
{
|
||||||
|
// Back to beginning
|
||||||
|
byteBuffer.rewind();
|
||||||
|
|
||||||
// Read the video header fields
|
// Read the video header fields
|
||||||
frameIndex = byteBuffer.getInt();
|
frameIndex = byteBuffer.getInt();
|
||||||
packetIndex = byteBuffer.getInt();
|
packetIndex = byteBuffer.getInt();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user