skin split streaming

This commit is contained in:
aap
2016-07-09 12:24:26 +02:00
parent bd06c54c57
commit f4f4c088ff
6 changed files with 83 additions and 35 deletions

View File

@ -129,9 +129,10 @@ main(int argc, char *argv[])
s.open(argv[1], "rb");
ChunkHeaderInfo header;
readChunkHeaderInfo(&s, &header);
if(argc == 2)
readchunk(&s, &header, 0);
while(readChunkHeaderInfo(&s, &header)){
if(argc == 2)
readchunk(&s, &header, 0);
}
printf("%x %x %x\n", header.version, header.build,
libraryIDPack(header.version, header.build));