Fix broken VHD handling

This commit is contained in:
Alexander Babikov
2023-08-16 02:44:51 +05:00
parent 20edda876e
commit b10a6b201d

View File

@@ -445,6 +445,7 @@ mvhd_file_is_vhd(FILE* f)
}
mvhd_fseeko64(f, -MVHD_FOOTER_SIZE, SEEK_END);
(void) !fread(con_str, sizeof con_str, 1, f);
if (mvhd_is_conectix_str(con_str)) {
return 1;
}