fdk-aac-encoder: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:03 +01:00
parent 35d4b2d209
commit ab7dae0b19

View file

@ -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|