mirror of
https://github.com/taglib/taglib.git
synced 2025-07-21 14:34:23 -04:00
Fix defect in ByteVectorStream::seek when Position==End.
This commit is contained in:
@ -137,7 +137,7 @@ void ByteVectorStream::seek(long offset, Position p)
|
||||
d->position += offset;
|
||||
break;
|
||||
case End:
|
||||
d->position = length() - offset;
|
||||
d->position = length() + offset; // offset is expected to be negative
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user