Browse Source

LibAudio: Fix calculation of wasted bits-per-sample

The value was always zero.
Karol Kosek 3 years ago
parent
commit
837803531a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Userland/Libraries/LibAudio/FlacLoader.cpp

+ 0 - 1
Userland/Libraries/LibAudio/FlacLoader.cpp

@@ -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;