Commit b999e110 authored by ods15's avatar ods15

Original Commit: r106 | ods15 | 2006-10-01 18:11:55 +0200 (Sun, 01 Oct 2006) | 2 lines

window -> apply_window_and_mdct

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6510 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 50aab357
......@@ -1308,7 +1308,7 @@ static void residue_encode(venc_context_t * venc, residue_t * rc, PutBitContext
}
}
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 @@ static int vorbis_encode_frame(AVCodecContext * avccontext, unsigned char * pack
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment