mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-20 20:41:08 +01:00
Merge pull request #823 from bnnm/hca2
- Improve HCA v3.0 - Improve HCA joint stereo
This commit is contained in:
commit
9c2255c2f0
678
ext_libs/clHCA.c
678
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