1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:57:46 +00:00

LibAudio: Remove the m_current_frame field from MP3Loader

This field was only used within one function, where it could just be a
local variable.
This commit is contained in:
Zaggy1024 2023-08-26 02:11:20 -05:00 committed by Tim Flynn
parent 88a9ff76b0
commit c1d4ff919a
2 changed files with 11 additions and 20 deletions

View file

@ -72,7 +72,6 @@ private:
int m_total_samples { 0 };
size_t m_loaded_samples { 0 };
AK::Optional<MP3::MP3Frame> m_current_frame;
OwnPtr<BigEndianInputBitStream> m_bitstream;
AllocatingMemoryStream m_bit_reservoir;
};