diff --git a/NAudio/FileFormats/Mp3/XingHeader.cs b/NAudio/FileFormats/Mp3/XingHeader.cs index cec5300a..4662a434 100644 --- a/NAudio/FileFormats/Mp3/XingHeader.cs +++ b/NAudio/FileFormats/Mp3/XingHeader.cs @@ -89,6 +89,14 @@ public static XingHeader LoadXingHeader(Mp3Frame frame) xingHeader.startOffset = offset; offset += 4; } + else if ((frame.RawData[offset + 0] == 'I') && + (frame.RawData[offset + 1] == 'n') && + (frame.RawData[offset + 2] == 'f') && + (frame.RawData[offset + 3] == 'o')) + { + xingHeader.startOffset = offset; + offset += 4; + } else { return null;