mirror of
https://github.com/google/liblc3.git
synced 2026-05-24 12:15:32 +00:00
test: fix run of python encoder
This commit is contained in:
@@ -54,7 +54,7 @@ class Decoder:
|
||||
|
||||
b = bitstream.BitstreamReader(data)
|
||||
|
||||
bw = self.bwdet.get_bw(b)
|
||||
bw = self.bwdet.get(b)
|
||||
if bw > self.sr:
|
||||
raise ValueError('Invalid bandwidth indication')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user