forked from len0rd/rockbox
Minor libwmavoice fixes; initialise the entire VBM tree and remove file handle leak from test util.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30360 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9931b3c7a8
commit
953a073a4d
2 changed files with 2 additions and 1 deletions
|
|
@ -274,6 +274,7 @@ STOP_TIMER("lzod")
|
|||
av_log(NULL, AV_LOG_ERROR, "decompression incorrect\n");
|
||||
else
|
||||
av_log(NULL, AV_LOG_ERROR, "decompression OK\n");
|
||||
fclose(in);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ static av_cold int decode_vbmtree(GetBitContext *gb, int8_t vbm_tree[25])
|
|||
};
|
||||
int cntr[8], n, res;
|
||||
|
||||
memset(vbm_tree, 0xff, sizeof(vbm_tree));
|
||||
memset(vbm_tree, 0xff, sizeof(int8_t) * 25);
|
||||
memset(cntr, 0, sizeof(cntr));
|
||||
for (n = 0; n < 17; n++) {
|
||||
res = get_bits(gb, 3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue