Browse Source

Original Commit: r24 | ods15 | 2006-09-22 13:57:09 +0300 (Fri, 22 Sep 2006) | 2 lines

last and least, modes generation

Originally committed as revision 6435 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Oded Shimon 19 years ago
parent
commit
fb5eba8c2d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavcodec/vorbis_enc.c

+ 4
- 0
libavcodec/vorbis_enc.c View File

@@ -281,6 +281,10 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon

venc->nmodes = 1;
venc->modes = av_malloc(sizeof(vorbis_mode_t) * venc->nmodes);

// single mode
venc->modes[0].blockflag = 0;
venc->modes[0].mapping = 0;
}

static inline int ilog(unsigned int a) {


Loading…
Cancel
Save