mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Remove unnecessary buffer clear
This commit is contained in:
parent
af384d88f7
commit
932ce435b5
@ -593,8 +593,6 @@ public class MediaCodecDecoderRenderer extends EnhancedDecoderRenderer {
|
||||
int inputIndex = dequeueInputBuffer(true, true);
|
||||
ByteBuffer inputBuffer = getEmptyInputBuffer(inputIndex);
|
||||
|
||||
inputBuffer.clear();
|
||||
|
||||
// Write the Annex B header
|
||||
inputBuffer.put(new byte[]{0x00, 0x00, 0x00, 0x01, 0x67});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user