1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:48:11 +00:00

LibAudio: Fix calculation of wasted bits-per-sample

The value was always zero.
This commit is contained in:
Karol Kosek 2021-08-03 19:56:55 +02:00 committed by Andreas Kling
parent 2ecd115176
commit 837803531a

View file

@ -571,7 +571,6 @@ FlacSubframeHeader FlacLoaderPlugin::next_subframe_header(InputBitStream& bit_st
u8 k = 0;
if (has_wasted_bits) {
bool current_k_bit = 0;
u8 k = 0;
do {
current_k_bit = bit_stream.read_bit_big_endian();
++k;