yet more refactoring
This commit is contained in:
parent
28dbf8ee6c
commit
c828b52111
@ -974,8 +974,8 @@ int getFileInfo(fileInfo_t* info, const char* inFileName){
|
|||||||
else if(magicNumber==ZSTD_MAGIC_SKIPPABLE_START){
|
else if(magicNumber==ZSTD_MAGIC_SKIPPABLE_START){
|
||||||
BYTE frameSizeBuffer[4];
|
BYTE frameSizeBuffer[4];
|
||||||
long frameSize;
|
long frameSize;
|
||||||
info->numSkippableFrames++;
|
|
||||||
size_t readBytes = fread(frameSizeBuffer, 1, 4, srcFile);
|
size_t readBytes = fread(frameSizeBuffer, 1, 4, srcFile);
|
||||||
|
info->numSkippableFrames++;
|
||||||
if(readBytes != 4){
|
if(readBytes != 4){
|
||||||
DISPLAY("There was an error reading skippable frame size");
|
DISPLAY("There was an error reading skippable frame size");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user