diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 06:09:33 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 06:09:33 +0000 |
commit | a88de9682f90cf2426ff0ebaf0b6d53cf84a4cc4 (patch) | |
tree | 6f7a52ee09aa860e30ff54dc235930292ad95967 /libavcodec/vorbis_enc.c | |
parent | 64c82a7411ec88ddbbad9b7803eb6c0c58c666f6 (diff) | |
download | ffmpeg-a88de9682f90cf2426ff0ebaf0b6d53cf84a4cc4.tar.gz |
Original Commit: r106 | ods15 | 2006-10-01 18:11:55 +0200 (Sun, 01 Oct 2006) | 2 lines
window -> apply_window_and_mdct
Originally committed as revision 6510 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis_enc.c')
-rw-r--r-- | libavcodec/vorbis_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 8922829977..74ff4a9713 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -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); |