Mercurial > libavcodec.hg
comparison vorbis_enc.c @ 3830:477ee30c6fc6 libavcodec
Original Commit: r24 | ods15 | 2006-09-22 13:57:09 +0300 (Fri, 22 Sep 2006) | 2 lines
last and least, modes generation
author | ods15 |
---|---|
date | Mon, 02 Oct 2006 05:55:59 +0000 |
parents | e8e340cbc7f2 |
children | 7d27ba61600e |
comparison
equal
deleted
inserted
replaced
3829:e8e340cbc7f2 | 3830:477ee30c6fc6 |
---|---|
279 mc->residue[i] = 0; | 279 mc->residue[i] = 0; |
280 } | 280 } |
281 | 281 |
282 venc->nmodes = 1; | 282 venc->nmodes = 1; |
283 venc->modes = av_malloc(sizeof(vorbis_mode_t) * venc->nmodes); | 283 venc->modes = av_malloc(sizeof(vorbis_mode_t) * venc->nmodes); |
284 | |
285 // single mode | |
286 venc->modes[0].blockflag = 0; | |
287 venc->modes[0].mapping = 0; | |
284 } | 288 } |
285 | 289 |
286 static inline int ilog(unsigned int a) { | 290 static inline int ilog(unsigned int a) { |
287 int i; | 291 int i; |
288 for (i = 0; a >> i; i++); | 292 for (i = 0; a >> i; i++); |