X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wmadec_filter.c;h=d9a08881900fe223fa3e25b74f284276520cb790;hp=1f308785fc9e026f53f72280a6066945b0748b78;hb=27c08870ba172782f6406045007b6ff32a4f7329;hpb=f484411f1a48386975f55d1273750ca3c926aa9a diff --git a/wmadec_filter.c b/wmadec_filter.c index 1f308785..d9a08881 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -160,8 +160,8 @@ static void init_coef_vlc(struct private_wmadec_data *pwd, int sidx, int didx) int i, l, j, k, level, n = src->n; init_vlc(dst, VLCBITS, n, src->huffbits, src->huffcodes, 4); - pwd->run_table[didx] = alloc(n * sizeof(uint16_t)); - pwd->level_table[didx] = alloc(n * sizeof(uint16_t)); + pwd->run_table[didx] = arr_alloc(n, sizeof(uint16_t)); + pwd->level_table[didx] = arr_alloc(n, sizeof(uint16_t)); i = 2; level = 1; k = 0;