test: fix run of python encoder

This commit is contained in:
Antoine SOULIER
2022-07-08 21:33:58 +02:00
parent 7e7ba31bbf
commit d1e9270ca1
4 changed files with 11 additions and 14 deletions

View File

@@ -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')