fdk-aac-encoder: fix rubocop warnings.
This commit is contained in:
parent
35d4b2d209
commit
ab7dae0b19
1 changed files with 1 additions and 3 deletions
|
@ -47,9 +47,7 @@ class FdkAacEncoder < Formula
|
|||
|
||||
position_in_period += position_in_period_delta
|
||||
|
||||
if position_in_period >= 1.0
|
||||
position_in_period -= 1.0
|
||||
end
|
||||
position_in_period -= 1.0 if position_in_period >= 1.0
|
||||
end
|
||||
|
||||
samples.map! do |sample|
|
||||
|
|
Loading…
Reference in a new issue