mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +01:00
Improve HCA v3.0
This commit is contained in:
parent
12becc0ec3
commit
ae909de292
679
ext_libs/clHCA.c
679
ext_libs/clHCA.c
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user