mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
Revert "Fix memory leaks of special NAL sequences"
This reverts commit d9987105d0d9c27e920b4113875e82b315d050a4.
This commit is contained in:
parent
e6959e66e4
commit
ff50b5fdab
@ -189,8 +189,6 @@ public class AvVideoDepacketizer {
|
||||
location.length--;
|
||||
location.offset++;
|
||||
}
|
||||
|
||||
specialSeq.free();
|
||||
}
|
||||
|
||||
// Move to the next special sequence
|
||||
@ -209,12 +207,8 @@ public class AvVideoDepacketizer {
|
||||
if (currentlyDecoding != AvDecodeUnit.TYPE_UNKNOWN ||
|
||||
!NAL.isPadding(specialSeq))
|
||||
{
|
||||
specialSeq.free();
|
||||
break;
|
||||
}
|
||||
else {
|
||||
specialSeq.free();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user