diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 05:55:59 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 05:55:59 +0000 |
commit | fb5eba8c2d1746603aea94b2fb4339cef42e3c3e (patch) | |
tree | fae662b653971ad5637b7d85dd63874e67f39268 /libavcodec/vorbis_enc.c | |
parent | 8e59b82db1664ca8dfefb29e2454f36585841467 (diff) | |
download | ffmpeg-fb5eba8c2d1746603aea94b2fb4339cef42e3c3e.tar.gz |
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
Diffstat (limited to 'libavcodec/vorbis_enc.c')
-rw-r--r-- | libavcodec/vorbis_enc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 19aa4fba64..5501041356 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -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) { |