Remove unused early return

This commit is contained in:
Justin Wong 2022-08-25 00:26:25 +08:00
parent 314e05b5c5
commit 9c44ad6a1c

View File

@ -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 This is used to pass information to the VOD module and is useful for codec variants
with long or variable keyframe intervals.""" with long or variable keyframe intervals."""
if target_offset == 0:
return 0
ffprobe_cmd = [ ffprobe_cmd = [
"ffprobe", "ffprobe",
"-skip_frame", "-skip_frame",