Mercurial > libavcodec.hg
changeset 3905:557b95209664 libavcodec
Original Commit: r106 | ods15 | 2006-10-01 18:11:55 +0200 (Sun, 01 Oct 2006) | 2 lines
window -> apply_window_and_mdct
author | ods15 |
---|---|
date | Mon, 02 Oct 2006 06:09:33 +0000 |
parents | 24e73ad62e40 |
children | 5ae5224790d3 |
files | vorbis_enc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vorbis_enc.c Mon Oct 02 06:09:30 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 06:09:33 2006 +0000 @@ -1308,7 +1308,7 @@ } } -static int window(venc_context_t * venc, signed short * audio, int samples) { +static int apply_window_and_mdct(venc_context_t * venc, signed short * audio, int samples) { int i, j, channel; const float * win = venc->win[0]; int window_len = 1 << (venc->blocksize[0] - 1); @@ -1389,7 +1389,7 @@ PutBitContext pb; int i; - if (!window(venc, audio, samples)) return 0; + if (!apply_window_and_mdct(venc, audio, samples)) return 0; samples = 1 << (venc->blocksize[0] - 1); init_put_bits(&pb, packets, buf_size);