proper close order on error - release

This commit is contained in:
Philippe G
2020-07-10 23:38:38 -07:00
parent ba75350455
commit cf81182dae
3 changed files with 3 additions and 3 deletions

View File

@@ -364,7 +364,7 @@ static decode_state helixaac_decode(void) {
if (a->type == '2') {
// adts stream - seek for header
long n = AACFindSyncWord(streambuf->readp, bytes_wrap);
long n = HAAC(a, FindSyncWord, streambuf->readp, bytes_wrap);
LOG_DEBUG("Sync search in %d bytes %d", bytes_wrap, n);