# HG changeset patch # User ods15 # Date 1159768559 0 # Node ID 477ee30c6fc60584fb81d2571b9ad91bc30243fe # Parent e8e340cbc7f2f74b7d994df509221c96c02e88b7 Original Commit: r24 | ods15 | 2006-09-22 13:57:09 +0300 (Fri, 22 Sep 2006) | 2 lines last and least, modes generation diff -r e8e340cbc7f2 -r 477ee30c6fc6 vorbis_enc.c --- a/vorbis_enc.c Mon Oct 02 05:55:57 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 05:55:59 2006 +0000 @@ -281,6 +281,10 @@ 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) {