Commit a8615e4b authored by ods15's avatar ods15

Original Commit: r21 | ods15 | 2006-09-22 13:40:31 +0300 (Fri, 22 Sep 2006) | 2 lines

placeholders for reisudes, mappings and modes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6432 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 976a894b
......@@ -247,6 +247,15 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
fc->list[0].x = 0;
fc->list[1].x = 1 << fc->rangebits;
for (i = 2; i < fc->values; i++) fc->list[i].x = i * 5;
venc->nresidues = 1;
venc->residues = av_malloc(sizeof(residue_t) * venc->nresidues);
venc->nmappings = 1;
venc->mappings = av_malloc(sizeof(mapping_t) * venc->nmappings);
venc->nmodes = 1;
venc->modes = av_malloc(sizeof(vorbis_mode_t) * venc->nmodes);
}
static inline int ilog(unsigned int a) {
......
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