mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Revert unintended change
This commit is contained in:
parent
e507f4abfb
commit
fc66caf567
@ -255,6 +255,9 @@ class NAL {
|
|||||||
// This assumes that the buffer passed in is already a special sequence
|
// This assumes that the buffer passed in is already a special sequence
|
||||||
public static boolean isAvcFrameStart(AvByteBufferDescriptor specialSeq)
|
public static boolean isAvcFrameStart(AvByteBufferDescriptor specialSeq)
|
||||||
{
|
{
|
||||||
|
if (specialSeq.length != 4)
|
||||||
|
return false;
|
||||||
|
|
||||||
// The frame start sequence is 00 00 00 01
|
// The frame start sequence is 00 00 00 01
|
||||||
return (specialSeq.data[specialSeq.offset+specialSeq.length-1] == 0x01);
|
return (specialSeq.data[specialSeq.offset+specialSeq.length-1] == 0x01);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user