mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 13:31:55 +00:00
Fix (currently) harmless bug in initial frame parsing
This commit is contained in:
1 parent
c9e5230e37
commit
2f082b9f85
1 file changed
+3
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user