From 9c44ad6a1c7a858e883a7cea0ab129543b9be8bc Mon Sep 17 00:00:00 2001 From: Justin Wong <46082645+uvjustin@users.noreply.github.com> Date: Thu, 25 Aug 2022 00:26:25 +0800 Subject: [PATCH] Remove unused early return --- frigate/util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/frigate/util.py b/frigate/util.py index 8520789d9..8fef6dc6b 100755 --- a/frigate/util.py +++ b/frigate/util.py @@ -697,8 +697,6 @@ def get_adjusted_offset(source: str, target_offset: int) -> int: This is used to pass information to the VOD module and is useful for codec variants with long or variable keyframe intervals.""" - if target_offset == 0: - return 0 ffprobe_cmd = [ "ffprobe", "-skip_frame",