Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ioctlLR/NVorbis.git
Browse files Browse the repository at this point in the history
  • Loading branch information
ioctlLR committed Jun 16, 2016
2 parents 07b1040 + 5ed53bd commit 7f7f1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NVorbis/Ogg/OggPacketReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ public DataPacket FindPacket(long granulePos, Func<DataPacket, DataPacket, int>
else
{
// reverse search (or we're looking at the same page)
while (packet.Prev != null && (granulePos < packet.Prev.PageGranulePosition || packet.Prev.PageGranulePosition == -1))
while (packet.Prev != null && (granulePos <= packet.Prev.PageGranulePosition || packet.Prev.PageGranulePosition == -1))
{
packet = packet.Prev;
}
Expand Down

0 comments on commit 7f7f1b2

Please sign in to comment.