Mercurial > libavcodec.hg
changeset 1762:1532ff770277 libavcodec
10l
author | michael |
---|---|
date | Mon, 26 Jan 2004 19:14:02 +0000 |
parents | 3620e301643a |
children | 951403db901f |
files | mpegaudiodec.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegaudiodec.c Mon Jan 26 19:09:47 2004 +0000 +++ b/mpegaudiodec.c Mon Jan 26 19:14:02 2004 +0000 @@ -318,6 +318,11 @@ static int init=0; int i, j, k; + if(avctx->antialias_algo == FF_AA_INT) + s->compute_antialias= compute_antialias_integer; + else + s->compute_antialias= compute_antialias_float; + if (!init && !avctx->parse_only) { /* scale factors table for layer 1/2 */ for(i=0;i<64;i++) { @@ -463,10 +468,6 @@ } } - if(avctx->antialias_algo == FF_AA_INT) - s->compute_antialias= compute_antialias_integer; - else - s->compute_antialias= compute_antialias_float; for(i=0;i<8;i++) { float ci, cs, ca; ci = ci_table[i];