Improve HCA v3.0

This commit is contained in:
bnnm 2021-03-10 22:17:15 +01:00
parent 12becc0ec3
commit ae909de292
2 changed files with 380 additions and 304 deletions

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,10 @@ hca_codec_data* init_hca(STREAMFILE* sf) {
clHCA_clear(data->handle);
status = clHCA_DecodeHeader(data->handle, header_buffer, header_size); /* parse header */
if (status < 0) goto fail;
if (status < 0) {
VGM_LOG("HCA: unsupported header found, %i\n", status);
goto fail;
}
status = clHCA_getInfo(data->handle, &data->info); /* extract header info */
if (status < 0) goto fail;