print fseeko error

pull/61/head
Christian Krause 9 years ago
parent 8879834e8a
commit 7fb07efef7

@ -344,8 +344,11 @@ static lzma_index *next_index(off_t *pos) {
}
bool decode_index(void) {
if (fseeko(gInFile, 0, SEEK_END) == -1)
if (fseeko(gInFile, 0, SEEK_END) == -1) {
fprintf(stderr, "can not seek in input: %s\n", strerror(errno));
return false; // not seekable
}
off_t pos = ftello(gInFile);
gIndex = NULL;

Loading…
Cancel
Save