changeset 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
files vorbis_enc.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) {