Add error output in case of invalid compression ID

This commit is contained in:
Ingo Weinhold
2011-07-17 16:55:19 +02:00
parent 6c9fa46136
commit 5bc6952049
+4
View File
@@ -1066,8 +1066,12 @@ ReaderImplBase::ReadCompressedBuffer(const SectionInfo& section)
} }
default: default:
{
fErrorOutput->PrintError("Error: Invalid compression type: %u\n",
section.compression);
return B_BAD_DATA; return B_BAD_DATA;
} }
}
} }