Fixes/improvements to FFmpegAudio and subclasses

This commit is contained in:
Imayhaveborkedit
2023-08-23 07:49:55 -04:00
committed by GitHub
parent 673bedd285
commit 62c1ab21b2
2 changed files with 67 additions and 17 deletions

View File

@ -99,7 +99,7 @@ class OggStream:
elif not head:
return None
else:
raise OggError('invalid header magic')
raise OggError(f'invalid header magic {head}')
def _iter_pages(self) -> Generator[OggPage, None, None]:
page = self._next_page()