Skip to content

Commit

Permalink
Missing changes to previous fix
Browse files Browse the repository at this point in the history
Just a refactor

See efc4a44
  • Loading branch information
atruskie committed Aug 26, 2019
1 parent efc4a44 commit bd00af0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Acoustics.Tools/Audio/FfmpegAudioUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ protected override AudioUtilityInfo GetInfo(FileInfo source, ProcessRunner proce
if (delimiterIndex > 0)
{
// key=value
var key = currentBlockName + " " + line.Substring(0, line.IndexOf('='));
var value = line.Substring(line.IndexOf('=') + 1);
var key = currentBlockName + " " + line.Substring(0, delimiterIndex);
var value = line.Substring(delimiterIndex + 1);
result.RawData.Add(key.Trim(), value.Trim());
}
}
Expand Down

0 comments on commit bd00af0

Please sign in to comment.