X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=wmadec_filter.c;h=88f69896bf7ea7fd3d2e80bad28a014e079b5c7c;hb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;hp=b96f1460f45c77928214a884195d85b4eff04a56;hpb=a61e862450dc1e74394bf5bbf7002d9947f98d31;p=paraslash.git diff --git a/wmadec_filter.c b/wmadec_filter.c index b96f1460..88f69896 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -5,8 +5,7 @@ * * Copyright (c) 2002 The FFmpeg Project * - * Licensed under the GNU Lesser General Public License. - * For licencing details see COPYING.LIB. + * Licensed under the GNU Lesser General Public License, see file COPYING.LIB. */ /** \file wmadec_filter.c paraslash's WMA decoder. */ @@ -161,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] = para_malloc(n * sizeof(uint16_t)); - pwd->level_table[didx] = para_malloc(n * sizeof(uint16_t)); + pwd->run_table[didx] = alloc(n * sizeof(uint16_t)); + pwd->level_table[didx] = alloc(n * sizeof(uint16_t)); i = 2; level = 1; k = 0; @@ -1198,7 +1197,7 @@ next_buffer: if (fn->min_iqs > len) goto success; out_size = WMA_OUTPUT_BUFFER_SIZE; - out = para_malloc(out_size); + out = alloc(out_size); ret = wma_decode_superframe(pwd, out, &out_size, (uint8_t *)in + WMA_FRAME_SKIP); if (ret < 0) {