Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module: sink: source: Prevent division by zero issue
This patch prevents division by zero, when source_get_frame_bytes() routine returns 0. This change fixes issue #8414. The problem happens due to race condition during pipeline pause operation. The exact failure mechanism require additional debug, but checking frame_bytes value before division prevents exceptions. Signed-off-by: Jaroslaw Stelter <[email protected]> (cherry picked from commit d467eee) Signed-off-by: Kai Vehmanen <[email protected]>
- Loading branch information