mirror of
https://github.com/aap/librw.git
synced 2026-01-22 02:52:56 +00:00
raster fixes
This commit is contained in:
15
src/plg.cpp
15
src/plg.cpp
@@ -89,6 +89,21 @@ PluginList::streamGetSize(void *object)
|
||||
return size;
|
||||
}
|
||||
|
||||
void
|
||||
PluginList::streamSkip(Stream *stream)
|
||||
{
|
||||
int32 length;
|
||||
ChunkHeaderInfo header;
|
||||
if(!findChunk(stream, ID_EXTENSION, (uint32*)&length, nil))
|
||||
return;
|
||||
while(length > 0){
|
||||
if(!readChunkHeaderInfo(stream, &header))
|
||||
return;
|
||||
stream->seek(header.length);
|
||||
length -= 12 + header.length;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
PluginList::assertRights(void *object, uint32 pluginID, uint32 data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user