diff --git a/src/croaker/transcoder.py b/src/croaker/transcoder.py index 46eb7fb..e3a3902 100644 --- a/src/croaker/transcoder.py +++ b/src/croaker/transcoder.py @@ -35,7 +35,7 @@ class FrameAlignedStream: def frames(self): while True: frame = self._read_one_frame() - if frame is None: + if not frame: return yield frame